]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: Prevent heap-buffer-overflow with unknown type
authorIggy Frankovic <iggy07@gmail.com>
Thu, 30 May 2024 11:59:54 +0000 (07:59 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 31 May 2024 15:11:34 +0000 (15:11 +0000)
commit522c274f747c96d2daf8a0b3769e38cd06801ace
tree4c45e18426bfc1f933de264fd6cc88f0e19a1a4e
parentd19d021b53c15160bd241c56124e5218d64ebccc
ospf6d: Prevent heap-buffer-overflow with unknown type

When parsing a osf6 grace lsa field and we receive an
unknown tlv type, ospf6d was not incrementing the pointer
to get beyond the tlv.  Leaving a situation where ospf6d
would parse the packet incorrectly.

Signed-off-by: Iggy Frankovic <iggy07@gmail.com>
(cherry picked from commit 826f2510e67711045e52cf4b5e3ddef514ed556e)
ospf6d/ospf6_gr_helper.c