]> 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:10:40 +0000 (15:10 +0000)
commit13fea7fb10c25c63a547d56a548ea8b8421cfd0f
treeba394a7df1735e82c6e7cd451efe9f0b90f11e95
parent78f0394c58356f64b011c263a526b582a8befebe
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