Bug 509552
| Summary: | patch[4601]: segfault at 0 ip 00000031d767ee70 sp 00007fff68ea9ba8 error 4 in libc-2.10.1.so[31d7600000+164000] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | udo <udovdh> |
| Component: | patch | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 11 | CC: | jakub, schwab, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-03 13:49:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
udo
2009-07-03 13:29:09 UTC
Thus patch is calling strcmp with a NULL argument.
(gdb) i line *0x0000000000408233
Line 420 of "patch.c" starts at address 0x40821c <main+6332>
and ends at 0x40823b <main+6363>.
(gdb) l patch.c:420
415 pfatal ("Can't set permissions on file %s",
416 quotearg (outname));
417 if (! inerrno && incontext) {
418 security_context_t outcontext;
419 getfilecon (outname, &outcontext);
420 if (strcmp(outcontext, incontext) &&
421 setfilecon (outname, incontext) != 0) {
422 if (errno != ENOTSUP && errno != EPERM)
423 pfatal ("Can't set security context on file %s",
424 quotearg (outname));
*** This bug has been marked as a duplicate of bug 498102 *** |