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 159785 Details for
Bug 249038
string_to_security_class segfaults
[?]
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]
fix bug in string_to_security_class
libselinux-stringtosecurityclass.diff (text/plain), 596 bytes, created by
Stephen Smalley
on 2007-07-23 14:18:13 UTC
(
hide
)
Description:
fix bug in string_to_security_class
Filename:
MIME Type:
Creator:
Stephen Smalley
Created:
2007-07-23 14:18:13 UTC
Size:
596 bytes
patch
obsolete
>Index: src/stringrep.c >=================================================================== >--- src/stringrep.c (revision 2496) >+++ src/stringrep.c (working copy) >@@ -236,7 +236,7 @@ > > dentry = readdir(dir); > while (dentry != NULL) { >- size_t value; >+ unsigned int value; > struct stat m; > > snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name); >@@ -258,7 +258,7 @@ > if (ret < 0) > goto err4; > >- if (sscanf(buf, "%u", (unsigned int *)&value) != 1) >+ if (sscanf(buf, "%u", &value) != 1) > goto err4; > > node->perms[value-1] = strdup(dentry->d_name);
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 249038
: 159785