Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 637804 Details for
Bug 751608
grubby --grub2 received SIGSEGV
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add test for null bootloader file name if no files could be read.
grubbyNullName.patch (text/plain), 646 bytes, created by
jeviolle
on 2012-11-04 00:24:28 UTC
(
hide
)
Description:
Patch to add test for null bootloader file name if no files could be read.
Filename:
MIME Type:
Creator:
jeviolle
Created:
2012-11-04 00:24:28 UTC
Size:
646 bytes
patch
obsolete
>--- grubby-8.12/grubby.c 2012-05-31 09:51:51.000000000 -0400 >+++ grubby.c 2012-11-03 13:42:12.813481409 -0400 >@@ -35,6 +35,7 @@ > #include <execinfo.h> > #include <signal.h> > #include <blkid/blkid.h> >+#include <sys/types.h> > > #ifndef DEBUG > #define DEBUG 0 >@@ -928,6 +929,15 @@ > int i, len; > char * buf; > >+ if (inName == NULL) { >+ if ( geteuid() != 0 ) { >+ printf("Unable to read bootloader configuration, please try again as root!\n"); >+ } else { >+ printf("Unable to read bootloader configuration!\n"); >+ } >+ exit(1); >+ } >+ > if (!strcmp(inName, "-")) { > in = 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 751608
: 637804