vlib: make pending_interrupts valid for AddressSanitizer 64/37964/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 20 Jan 2023 08:52:01 +0000 (09:52 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 21 Jan 2023 03:28:11 +0000 (03:28 +0000)
commit6a782ca3b0782116c5f34d1c958998e9a0af41ca
tree879c8140444fe2462f29bb4fbf162dc1a696b84a
parent6080ed6341d4752fc7327a145b73f6066215eaf5
vlib: make pending_interrupts valid for AddressSanitizer

vec_alloc_aligned() pre-allocates the vector memory but does not
update its size, making ASan unhappy when trying to access it.

Type: fix

Change-Id: I80e753cf2458cf516d1180a24cfaca4f382339d5
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vlib/main.c