Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
dbus-1.937
dbus-cve-2012-3524.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dbus-cve-2012-3524.patch of Package dbus-1.937
diff -urN dbus-1.4.1.org/configure.in dbus-1.4.1/configure.in --- dbus-1.4.1.org/configure.in 2012-09-19 17:24:00.350270110 +0200 +++ dbus-1.4.1/configure.in 2012-09-19 17:25:09.984425768 +0200 @@ -469,7 +469,7 @@ AC_SEARCH_LIBS(socket,[socket network]) AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)]) -AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep setenv clearenv unsetenv socketpair getgrouplist fpathconf setrlimit poll setlocale localeconv strtoll strtoull) +AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep setenv clearenv unsetenv socketpair getgrouplist fpathconf setrlimit poll setlocale localeconv strtoll strtoull __secure_getenv) #### Check for broken poll; taken from Glib's configure diff -urN dbus-1.4.1.org/dbus/dbus-sysdeps.c dbus-1.4.1/dbus/dbus-sysdeps.c --- dbus-1.4.1.org/dbus/dbus-sysdeps.c 2012-09-19 17:24:00.325270408 +0200 +++ dbus-1.4.1/dbus/dbus-sysdeps.c 2012-09-19 17:25:09.985425757 +0200 @@ -181,8 +181,12 @@ */ const char* _dbus_getenv (const char *varname) -{ - return getenv (varname); +{ +#ifdef HAVE___SECURE_GETENV + return __secure_getenv(varname); +#else + return getenv(varname); +#endif } /**
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