]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: Prevent heap-buffer-overflow with unknown type 16111/head
authorIggy Frankovic <iggy07@gmail.com>
Thu, 30 May 2024 11:59:54 +0000 (07:59 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 30 May 2024 12:02:25 +0000 (08:02 -0400)
commit826f2510e67711045e52cf4b5e3ddef514ed556e
tree46196782a8a3ef75ddad75cb5a874b0c5da14954
parentfd8a2c400aa972f6a38db50a7a27cdb3714538e1
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>
ospf6d/ospf6_gr_helper.c