summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2025-01-22 11:17:21 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2025-02-11 08:43:29 +0000
commite74b0ca0fcff59cc83799fc39d99800e0e0ee52f (patch)
tree0926bfa8ade72568727e5d3f7802035d4bd17a54 /lib/zclient.c
parent9a8ad94ce9f29d078d681aad28d18e29c0ce5ef6 (diff)
zebra: guard against junk in nexthop->rmap_src
rmap_src wasn't initialized, so for IPv4 the unused 12 bytes would contain whatever junk is on the stack on function entry. Also move the IPv4 parse before the IPv6 parse so if it's successful we can be sure the other bytes haven't been touched. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit b666ee510eb480da50476b1bbc84bdf8365df95c)
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions