From: Tony Breeds Date: Fri, 16 Jul 2010 06:16:20 +0000 (+1000) Subject: Avoid stack smash in parseing the vendor specific options. X-Git-Tag: yaboot-1.3.17-rc1~1 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=a5eb5ac3f50c7a4d532043dc9006fcf8eaf43c3e;hp=a5eb5ac3f50c7a4d532043dc9006fcf8eaf43c3e 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 ---