diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-04-16 12:40:54 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-13 17:20:47 +0000 |
commit | 346e6e186ad2f24fcf07fa16c1a1f9468504afb5 (patch) | |
tree | cc19a32fc5248359c739a754c09fb2244ecf1f95 /test | |
parent | 8453fb7509b7fa43c8e94f8cf383c638d36dc0bf (diff) |
bier: fix vector size confusing ASan
The vector is initialized to 1024 entries which is guaranteed to be
enough, but as its size can shrink between calls, make sure ASan is
aware of the expected size before using it.
Type: fix
Change-Id: I4bcc39867a886b3cb463854d2cda0b32155650e9
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 77100efb37f7cb333f9ab55dc206bf1431e3ae50)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions