]> git.puffer.fish Git - matthieu/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:03:23 +0000 (22:03 -0300)
commit80ecb9cac90697215362541e2a83d8073df74857
tree65d9cac4e8d899fabaada351fe1c853115eb8fd3
parent516f21985e193787fad806788733aebdbf8c6695
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