From: Roel Kluin Date: Thu, 6 Aug 2009 22:58:13 +0000 (-0700) Subject: x86: fix buffer overflow in efi_init() X-Git-Tag: v2.6.31-rc6~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdb8a42742ac95606668f73481dfb2f760658fdd;p=pandora-kernel.git 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 Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: H. Peter Anvin Cc: Huang Ying --- Reading git-diff-tree failed