]> git.proxmox.com Git - mirror_frr.git/commit
ldpd: add missing sanity check in the parsing of label messages
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 14 Nov 2019 00:51:06 +0000 (21:51 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 14 Nov 2019 01:02:53 +0000 (22:02 -0300)
commit199902c514e6529c744d4c83d4b6363d171ae803
tree9352c8b0033a817a1229646b9904251a10682caa
parent0687f4803b1951d9f1a52ccfc63f58cdcff0905d
ldpd: add missing sanity check in the parsing of label messages

Validate that the FEC prefix length is within the allowed limit
(depending on the FEC address family) in order to prevent possible
buffer overflows.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/labelmapping.c