diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-08-07 00:58:13 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-09 10:08:42 +0200 |
commit | fdb8a42742ac95606668f73481dfb2f760658fdd (patch) | |
tree | 5dd433f3190ba47117a7bc849b71eb38878e6c85 /arch/parisc | |
parent | x86: Add quirk to make Apple MacBookPro5,1 use reboot=pci (diff) | |
download | linux-fdb8a42742ac95606668f73481dfb2f760658fdd.tar.xz linux-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 <roel.kluin@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Huang Ying <ying.huang@intel.com>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions