Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
efd0d29
)
BVI: coverity error fix
89/18589/2
author
Neale Ranns
<nranns@cisco.com>
Fri, 29 Mar 2019 11:37:59 +0000
(11:37 +0000)
committer
Paul Vinciguerra
<pvinci@vinciconsulting.com>
Fri, 29 Mar 2019 13:53:12 +0000
(13:53 +0000)
Change-Id: Idc1e1747035638777240b7ea9afcf675b22be7f1
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/l2/l2_bvi.c
patch
|
blob
|
history
diff --git
a/src/vnet/l2/l2_bvi.c
b/src/vnet/l2/l2_bvi.c
index
87738fc
..
ec82d7d
100644
(file)
--- a/
src/vnet/l2/l2_bvi.c
+++ b/
src/vnet/l2/l2_bvi.c
@@
-166,7
+166,7
@@
l2_bvi_create (u32 user_instance,
*/
if (mac_address_is_zero (mac_in))
{
- u8 bytes[] = {
+ u8 bytes[
6
] = {
[0] = 0xb0,
[1] = 0xb0,
[5] = instance,