]> git.decadent.org.uk Git - odhcp6c.git/commit
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)
commitfe22a82fa0bd187a39d130d593c4d56d4749a174
tree7a56853ec98d87b1335d2b4ca7a09bab66e5baec
parent62968599557ac81b0f811481f6b06886ddcf0cdb
Fix possible stack buffer overflow in s46_to_env when copying IPv6 prefixes

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>
src/script.c