summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_routes_test.go
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@unverle.fr>2019-10-03 20:51:12 +0200
committerAnatole Denis <natolumin@unverle.fr>2019-10-08 08:56:49 +0200
commit1c72f431b01aa49492752868c3e3c5ad7a6a3d84 (patch)
tree19d8a999696e00e5f6dda1872573d9dd822c225b /dhcpv4/option_routes_test.go
parent998c511a2090c3915d8060d687cb9ec3784fc60b (diff)
dhcpv6: Reject empty messages
The uio library doesn't report errors on a per-operation basis, but accumulates them so they can be checked after a batch of operations in a separate Error() function. Unfortunately this makes it easy to forget, thus parse incorrect messages go-fuzz found immediately that an empty message would be parsed without error, and reserialize to a different message (one with some bytes of zeros) Signed-off-by: Anatole Denis <natolumin@unverle.fr>
Diffstat (limited to 'dhcpv4/option_routes_test.go')
0 files changed, 0 insertions, 0 deletions