diff options
author | Sean Karlage <skarlage@fb.com> | 2018-09-29 11:44:09 -0700 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2018-09-29 21:11:03 +0100 |
commit | 82aa6a6cc8ea2b0a7961383b3248ba4bad6a14f5 (patch) | |
tree | d350acd4ef0c279d11ae37f2191e6016d057da79 /dhcpv6/option_relaymsg.go | |
parent | 705562ea82b711f372f75ad325d180372ae2ac40 (diff) |
BSDP: Fix parsing offset for boot image lists
While parsing boot images, the current code reads to the end of the data
stream; however, this could lead to reading past the boot image option
and reading into the next option. Instead, contain how far the option
parsing code reads by only looking at the max length specified in the
option.
Diffstat (limited to 'dhcpv6/option_relaymsg.go')
0 files changed, 0 insertions, 0 deletions