FreeBSD Bugzilla – Attachment 166823 Details for
Bug 207070
gptboot not zeroing memory while reading from boot.config
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch
file_207070.txt (text/plain), 439 bytes, created by
david
on 2016-02-10 02:54:59 UTC
(
hide
)
Description:
The patch
Filename:
MIME Type:
Creator:
david
Created:
2016-02-10 02:54:59 UTC
Size:
439 bytes
patch
obsolete
>--- /usr/src/sys/boot/i386/gptboot/gptboot.c 2015-08-12 10:22:09.000000000 -0400 >+++ gptboot.c 2016-02-05 21:09:12.000000000 -0500 >@@ -159,9 +159,9 @@ > return (-1); > > autoboot = 1; >- *cmd = '\0'; > > for (;;) { >+ bzero(cmd, sizeof(cmd)); > *kname = '\0'; > if ((ino = lookup(PATH_CONFIG)) || > (ino = lookup(PATH_DOTCONFIG)))
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207070
: 166823