diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-11-23 09:22:10 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-11-23 11:45:56 +0000 |
commit | e0152461cbc84d6d4df3f05dddabe992c1c59052 (patch) | |
tree | 35c267aedb48fc902aaeb741e459552d67547c1f /src/plugins/lacp | |
parent | 2a7b546fb05ecf5871350eca1f8fc6016c2d4ca8 (diff) |
acl-plugin: fix coverity error that the fix related for [VPP-1502] has triggered
Fix the trivial use-before-check copypaste error.
There was a more subtle issue with that patch that Coverity didn't notice:
namely, vec_validate(v, len-1) is a terrible idea if len happens to be == 0.
Fix that.
Change-Id: I0fab8b1750e9e9973eefb5d39f35e4c3a13fc66f
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/lacp')
0 files changed, 0 insertions, 0 deletions