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 294627 Details for
Bug 432462
small buffer for sprintf in krb5-1.6.1/src/util/support/selinux.c::push_fscreatecon
[?]
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]
A patch for fixing the reported problem
selinux.c.patch (text/plain), 762 bytes, created by
Masatake YAMATO
on 2008-02-12 05:24:29 UTC
(
hide
)
Description:
A patch for fixing the reported problem
Filename:
MIME Type:
Creator:
Masatake YAMATO
Created:
2008-02-12 05:24:29 UTC
Size:
762 bytes
patch
obsolete
>--- selinux.c.orig 2007-11-13 20:28:40.000000000 +0900 >+++ selinux.c 2008-02-12 14:08:59.000000000 +0900 >@@ -71,16 +71,20 @@ > len = 0; > wd = getcwd(NULL, len); > if (wd == NULL) { >- if (previous == NULL) { >+ if (previous) { > freecon(previous); > } > return NULL; > } >- len = strlen(wd) + strlen(pathname) + 1; >+ len = strlen(wd) >+ + strlen(pathname) >+ + 1 /* `/' */ >+ + 1 /* NULL */ >+ ; > genpath = malloc(len); > if (genpath == NULL) { > free(wd); >- if (previous == NULL) { >+ if (previous) { > freecon(previous); > } > return NULL; >@@ -118,6 +122,8 @@ > freecon(previous); > } > return NULL; >+ } else { >+ freecon(next); > } > #ifdef DEBUG > } 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 432462
: 294627