commit | a5eb5ac3f50c7a4d532043dc9006fcf8eaf43c3e | [log] [download] |
---|---|---|
author | Tony Breeds <tony@bakeyournoodle.com> | Fri Jul 16 16:16:20 2010 +1000 |
committer | Tony Breeds <tony@bakeyournoodle.com> | Fri Jul 16 16:24:45 2010 +1000 |
tree | bb49fade9a8d0e31d6e3e29c010d3d7099f9a756 | |
parent | d8a3c3150850f7f0ee1962e460d3995edf08c351 [diff] |
Avoid stack smash in parseing the vendor specific options. For yaboot we only really care about DHCP options that are alos IPv4 addresses. Limit the memcpy() to 32bits. Also we don't use the DHCP_DNS tag so remove it from the enum. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>