summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_relay_agent_information.go
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@unverle.fr>2019-10-03 20:59:14 +0200
committerAnatole Denis <natolumin@unverle.fr>2019-10-08 08:56:49 +0200
commit1d9062326df943510ecaff2be53bd630a419b684 (patch)
tree76c36e045a9c17a6e078783e2f795d3b6ce08385 /dhcpv4/option_relay_agent_information.go
parent1c72f431b01aa49492752868c3e3c5ad7a6a3d84 (diff)
dhcpv6: Add error checks to message parsers
There were missing error checks in the Message and RelayMessage parsers, so that truncated headers would be incorrectly accepted as valid messages. For example the single byte "0" (0x30) would be accepted as a valid message, then reserialized to 0x30,0x00,0x00,0x00,0x00 Signed-off-by: Anatole Denis <natolumin@unverle.fr>
Diffstat (limited to 'dhcpv4/option_relay_agent_information.go')
0 files changed, 0 insertions, 0 deletions