summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/bsdp/bsdp_option_machine_name_test.go
diff options
context:
space:
mode:
authorSean Karlage <skarlage@fb.com>2018-09-29 11:44:09 -0700
committerinsomniac <insomniacslk@users.noreply.github.com>2018-09-29 21:11:03 +0100
commit82aa6a6cc8ea2b0a7961383b3248ba4bad6a14f5 (patch)
treed350acd4ef0c279d11ae37f2191e6016d057da79 /dhcpv4/bsdp/bsdp_option_machine_name_test.go
parent705562ea82b711f372f75ad325d180372ae2ac40 (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 'dhcpv4/bsdp/bsdp_option_machine_name_test.go')
0 files changed, 0 insertions, 0 deletions