Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
glibc.33856
nptl-setxid-error.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nptl-setxid-error.patch of Package glibc.33856
2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au> [BZ #22153] * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code in coredumps. Index: glibc-2.22/nptl/allocatestack.c =================================================================== --- glibc-2.22.orig/nptl/allocatestack.c +++ glibc-2.22/nptl/allocatestack.c @@ -1073,8 +1073,13 @@ __nptl_setxid_error (struct xid_command if (olderror == error) break; if (olderror != -1) - /* Mismatch between current and previous results. */ - abort (); + { + /* Mismatch between current and previous results. Save the + error value to memory so that is not clobbered by the + abort function and preserved in coredumps. */ + volatile int xid_err __attribute__((unused)) = error; + abort (); + } } while (atomic_compare_and_exchange_bool_acq (&cmdp->error, error, -1)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor