summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_ip_address_lease_time_test.go
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@unverle.fr>2019-10-08 11:34:51 +0200
committerChris K <c@chrisko.ch>2020-06-20 21:42:12 -0700
commitd74cd86ad5b8d0fbef8217631f7968bd7bab0d72 (patch)
tree8094c1a83f1d046783cf6be900614744f78a09b4 /dhcpv4/option_ip_address_lease_time_test.go
parent79c7b91b466a66dd3d20be0b08a468490d693e78 (diff)
dhcpv4: Fix a panic in parsing of route options
When parsing a route option with a mask size >32, there would be a panic at option_routes.go:47 as user-supplied data is used without verification for a slice bound, causing a read of masksize/8, whic is possibly >4 bytes. Instead reject the invalid route Signed-off-by: Anatole Denis <natolumin@unverle.fr>
Diffstat (limited to 'dhcpv4/option_ip_address_lease_time_test.go')
0 files changed, 0 insertions, 0 deletions