]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
Fix possible stack buffer overflow in s46_to_env when copying IPv6 prefixes
authorBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 00:49:22 +0000 (00:49 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 13:30:29 +0000 (13:30 +0000)
An 8-bit prefix-length field can be as large as 255, but values larger
than 128 will result in a buffer overflow when copying to in6.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found