aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorRoel Kluin <[email protected]>2009-08-06 22:58:13 +0000
committerH. Peter Anvin <[email protected]>2009-08-09 08:08:42 +0000
commitfdb8a42742ac95606668f73481dfb2f760658fdd (patch)
tree5dd433f3190ba47117a7bc849b71eb38878e6c85 /lib/flex_array.c
parentx86: Add quirk to make Apple MacBookPro5,1 use reboot=pci (diff)
downloadkernel-fdb8a42742ac95606668f73481dfb2f760658fdd.tar.gz
kernel-fdb8a42742ac95606668f73481dfb2f760658fdd.zip
x86: fix buffer overflow in efi_init()
If the vendor name (from c16) can be longer than 100 bytes (or missing a terminating null), then the null is written past the end of vendor[]. Found with Parfait, http://research.sun.com/projects/parfait/ Signed-off-by: Roel Kluin <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> Cc: Huang Ying <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions