Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
lb: keep AddressSanitizer happy
[vpp.git]
/
src
/
plugins
/
lb
/
lb.c
diff --git
a/src/plugins/lb/lb.c
b/src/plugins/lb/lb.c
index
7828334
..
c6f5a0a
100644
(file)
--- a/
src/plugins/lb/lb.c
+++ b/
src/plugins/lb/lb.c
@@
-486,7
+486,7
@@
out:
}
//First, let's sort the ASs
- vec_
alloc(sort_arr, pool_elts(vip->as_indexes)
);
+ vec_
validate (sort_arr, pool_elts (vip->as_indexes) - 1
);
i = 0;
pool_foreach (as_index, vip->as_indexes) {