summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-03 13:22:17 -0400
committerQuentin Young <qlyoung@nvidia.com>2020-09-03 14:06:30 -0400
commit506dbcc86b44319779616fbc24a295a7d0febb57 (patch)
tree75fb136468f612537b342ed886dcaea32dcf008b /lib/routemap_cli.c
parent0c7b459c2ccd71dc13abe9d8cc921a2799346485 (diff)
bgpd: fix mplsvpn nlri garbage heap read
NLRI parsing for mpls vpn was missing several length checks that could easily result in garbage heap reads past the end of nlri->packet. Convert the whole function to use stream APIs for automatic bounds checking... Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions