03b8372a9a
ASAN found a stack buffer overflow in lib/rib/rte_rib6.c:get_dir.
The fix for the stack buffer overflow was to make sure depth
was always < 128, since when depth = 128 it caused the index
into the ip address to be 16, which read off the end of the array.
While trying to solve the buffer overflow, I noticed that a few
changes could be made to remove the for loop entirely.
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
rte_rib6.c | ||
rte_rib6.h | ||
rte_rib.c | ||
rte_rib.h | ||
version.map |