Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:StefanBruens:branches:games
openmw
openmw-sigaltstack.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openmw-sigaltstack.patch of Package openmw
Fix error: size of array 'altstack' is not an integral constant-expression Index: openmw-openmw-0.46.0/components/crashcatcher/crashcatcher.cpp =================================================================== --- openmw-openmw-0.46.0.orig/components/crashcatcher/crashcatcher.cpp +++ openmw-openmw-0.46.0/components/crashcatcher/crashcatcher.cpp @@ -56,8 +56,6 @@ static const char exec_err[] = "!!! Fail static char argv0[PATH_MAX]; -static char altstack[SIGSTKSZ]; - static struct { int signum; @@ -467,9 +465,9 @@ int crashCatcherInstallHandlers(int argc /* Set an alternate signal stack so SIGSEGVs caused by stack overflows * still run */ - altss.ss_sp = altstack; + altss.ss_sp = malloc(SIGSTKSZ); altss.ss_flags = 0; - altss.ss_size = sizeof(altstack); + altss.ss_size = SIGSTKSZ; sigaltstack(&altss, nullptr); memset(&sa, 0, sizeof(sa));
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