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 644899 Details for
Bug 876578
erealloc3 error on sssd sudoHost netgroup mismatch
[?]
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 fixing the problem
sudo-1.8.6p3-sssd-netgroup-erealloc.patch (text/plain), 603 bytes, created by
Nikolai Kondrashov
on 2012-11-14 14:06:09 UTC
(
hide
)
Description:
Patch fixing the problem
Filename:
MIME Type:
Creator:
Nikolai Kondrashov
Created:
2012-11-14 14:06:09 UTC
Size:
603 bytes
patch
obsolete
>diff -r 355e4b19c559 plugins/sudoers/sssd.c >--- a/plugins/sudoers/sssd.c Tue Sep 18 09:59:29 2012 -0400 >+++ b/plugins/sudoers/sssd.c Wed Nov 14 15:37:42 2012 +0200 >@@ -212,7 +212,12 @@ > sudo_debug_printf(SUDO_DEBUG_DEBUG, > "reallocating result: %p (count: %u -> %u)", out_res->rules, > in_res->num_rules, l); >- out_res->rules = erealloc3(out_res->rules, l, sizeof(struct sss_sudo_rule)); >+ if (l > 0) >+ out_res->rules = erealloc3(out_res->rules, l, sizeof(struct sss_sudo_rule)); >+ else { >+ efree(out_res->rules); >+ out_res->rules = NULL; >+ } > } > > out_res->num_rules = l;
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 876578
: 644899 |
644900
|
644901