]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Ensure stream received has enough data
authorDonald Sharp <sharpd@nvidia.com>
Tue, 6 Dec 2022 15:23:11 +0000 (10:23 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 29 Mar 2023 11:59:49 +0000 (07:59 -0400)
commit06431bfa7570f169637ebb5898f0b0cc3b010802
tree9662a07ef76960f9b9eb50190766e7fc4fd04d23
parentc99978f7b565ea1994ef0a0d3ea299f48314fcee
bgpd: Ensure stream received has enough data

BGP_PREFIX_SID_SRV6_L3_SERVICE attributes must not
fully trust the length value specified in the nlri.
Always ensure that the amount of data we need to read
can be fullfilled.

Reported-by: Iggy Frankovic <iggyfran@amazon.com>
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_attr.c