Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199465 Details for
Bug 279497
Kernel: x86: fix buffer overflow in efi_init() (GENERIC-MAP-NOMATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to fix bugs
patch (text/plain), 551 bytes, created by
Brayan Arraes (YacK)
on 2009-07-28 18:21:38 UTC
(
hide
)
Description:
patch to fix bugs
Filename:
MIME Type:
Creator:
Brayan Arraes (YacK)
Created:
2009-07-28 18:21:38 UTC
Size:
551 bytes
patch
obsolete
>diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c >index 96f7ac0..436a42f 100644 >--- a/arch/x86/kernel/efi.c >+++ b/arch/x86/kernel/efi.c >@@ -354,7 +354,7 @@ void __init efi_init(void) > */ > c16 = tmp = early_ioremap(efi.systab->fw_vendor, 2); > if (c16) { > - for (i = 0; i < sizeof(vendor) && *c16; ++i) > + for (i = 0; i < sizeof(vendor) - 1 && *c16; ++i) > vendor[i] = *c16++; > vendor[i] = '\0'; > } else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 279497
: 199465