summaryrefslogtreecommitdiff
path: root/lib/ldp_sync.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2025-01-22 11:19:04 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2025-02-11 08:43:51 +0000
commit4285bd8a176a2be4d035a9a055afa378c74f1cd1 (patch)
treec21fe5ab42752d41dcedc4a1b2b03a2c6dd011d5 /lib/ldp_sync.c
parentabf1ef1324df929fe04d035ea77614b0c88f0020 (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 'lib/ldp_sync.c')
0 files changed, 0 insertions, 0 deletions