summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2025-01-22 11:19:04 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2025-02-11 09:49:33 +0100
commit7a40667bfdd666cb2dce1aafa4af92a7a1ea99ac (patch)
tree0a48d6a36186fe8cef3434316ea9972778e22ae1 /ripd
parent635f90bad1556395dcfd31dab617a662147d5368 (diff)
lib: guard against padding garbage in ZAPI read
When reading in a nexthop from ZAPI, only set the fields that actually have meaning. While it shouldn't happen to begin with, we can otherwise carry padding garbage into the unused leftover union bytes. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 4a0e1419a69d07496c7adfb744beecd00e1efef2)
Diffstat (limited to 'ripd')
0 files changed, 0 insertions, 0 deletions