]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Check if we have real stream data for tunnel encapsulation sub-tlvs
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 13 Jun 2024 06:00:21 +0000 (09:00 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 13 Jun 2024 06:00:21 +0000 (09:00 +0300)
commit9929486d6bdb28469a5b626a17d5bc9991c83ce3
treea3f7c89522b93b0e94061382cc50b26e6497223d
parent34b209f0ae2caca0d1ebcde9d4095375ac31b562
bgpd: Check if we have real stream data for tunnel encapsulation sub-tlvs

When the packet is malformed it can use whatever values it wants. Let's check
what the real data we have in a stream instead of relying on malformed values.

Reported-by: Iggy Frankovic <iggyfran@amazon.com>
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_attr.c