]> git.puffer.fish Git - matthieu/frr.git/commit
fpm: guard against garbage in unused address bytes
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 22 Jan 2025 10:15:17 +0000 (11:15 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 29 Jan 2025 15:48:37 +0000 (16:48 +0100)
commit95cf0b227980999e2af22a2c171e5237e5ffca8e
treedb9003058c8bb2c45d08399fc240c338900016d1
parentce7f5b21221f0b3557d1f4a40793230d8bc4cf02
fpm: guard against garbage in unused address bytes

Zero out the 12 unused bytes (for the IPv6 address) when reading in an
IPv4 address.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
fpm/fpm_pb.h