]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: add missing sanity check in the parsing of label messages 5335/head
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 00:51:06 +0000 (21:51 -0300)
commitf2e8b73572bb4b10adeeec5de8e9773f55749140
tree8179b0893478ff6cc7bf5b32ad9f4a0f4e6f5981
parentb6af40b98a5ed65b4b78e6cda650941e5bfdfa7d
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