forked from openwrt/odhcp6c
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible stack buffer overflow in s46_to_env when copying IPv6 pr…
…efixes 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>
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters