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.
Reviewed: https:/ /review. opencontrail. org/43654 github. com/Juniper/ contrail- vrouter/ commit/ d53c7c1c6ca5841 98758b2195eb494 6f8a251178
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit d53c7c1c6ca5841 98758b2195eb494 6f8a251178
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: I9eb98a7109687f 88a69862ac3b77a 18576d462b1
Closes-Bug: #1775844