Comment 10 for bug 1775844

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/43654
Committed: http://github.com/Juniper/contrail-vrouter/commit/d53c7c1c6ca584198758b2195eb4946f8a251178
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit d53c7c1c6ca584198758b2195eb4946f8a251178
Author: Andrei Bunghez <email address hidden>
Date: Fri Jun 8 13:23:50 2018 +0000

Buffer overrun in vif utility

Coverity reports a possible buffer overrun in the vif utility,
in vr_if_flags function. The flag_string buffer might be filled
up while copying interface flag symbols since there is no checking
on length. (59760)
Increasing flag_string to 64, which should cover the combination of
all possible flags at this moment, and checking total length of generated
string.

Change-Id: I9eb98a7109687f88a69862ac3b77a18576d462b1
Closes-Bug: #1775844