diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-01-22 11:17:21 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2025-01-29 16:48:37 +0100 |
| commit | b666ee510eb480da50476b1bbc84bdf8365df95c (patch) | |
| tree | 5bfd811dc88cb3a506656e48b12dda44fa4168f8 /zebra/zebra_nhg_private.h | |
| parent | c88589f5e9351654c04322eb395003297656989d (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>
Diffstat (limited to 'zebra/zebra_nhg_private.h')
0 files changed, 0 insertions, 0 deletions
