]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Fix heap corruption vulnerability when parsing SR-Algorithm TLV
authorAcee Lindem <acee@lindem.com>
Wed, 18 Sep 2024 18:09:19 +0000 (18:09 +0000)
committerAcee Lindem <acee@lindem.com>
Wed, 18 Sep 2024 18:09:19 +0000 (18:09 +0000)
commit0dc969185fdd75fd007c9b29e11be57a078236df
tree7d0251c8ccfe796162437d82d953f3938efcd386
parent5ae0b26220e5c9269f21e928558f49bba876c9f3
ospfd: Fix heap corruption vulnerability when parsing SR-Algorithm TLV

When parsing the SR-Algorithm TLV in the OSPF Router Information Opaque
LSA, assure that not more than the maximum number of supported
algorithms are copied from the TLV.

Signed-off-by: Acee Lindem <acee@lindem.com>
ospfd/ospf_sr.c