summaryrefslogtreecommitdiff
path: root/lib/command_py.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:53 +0000
commit536488044c6e499ccace5d2e1beb39b54ab83247 (patch)
treef83ab59c09943c4c5afa0e4430a1f27b7e2be7ea /lib/command_py.c
parent7f5eb20b45fe4c97a7410527df62440638a1105a (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/command_py.c')
0 files changed, 0 insertions, 0 deletions