summaryrefslogtreecommitdiff
path: root/external/gpl3/binutils/dist/elfcpp/elfcpp.h
diff options
context:
space:
mode:
authormaxv <maxv@NetBSD.org>2018-04-14 17:55:47 +0000
committermaxv <maxv@NetBSD.org>2018-04-14 17:55:47 +0000
commitfa3c9dbe394574a0615c56b67925f79ffe8bb631 (patch)
treecb65318872a755b001d32f3ad0748763c30668e7 /external/gpl3/binutils/dist/elfcpp/elfcpp.h
parent440a403f88a522e836e8d0ce1448cdd92efe4e7f (diff)
Fix 'icmp6len', it shouldn't be ip6_plen, because we may not be at the
beginning of the packet (off+ip6_plen is beyond the end of the mbuf). By luck, the IP6_EXTHDR_GET that follows will fail and prevent buffer overflows in non-jumbogram packets. For jumbograms we will probably be in trouble here; but it doesn't seem possible to craft reliably a jumbogram for a non-jumbogram-enabled device. So I don't think it's a huge problem.
Diffstat (limited to 'external/gpl3/binutils/dist/elfcpp/elfcpp.h')
0 files changed, 0 insertions, 0 deletions