Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:lxde
slim
slim-1.3.6-fix-env-alloc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slim-1.3.6-fix-env-alloc.patch of Package slim
Index: b/app.cpp =================================================================== --- a/app.cpp +++ b/app.cpp @@ -596,8 +596,8 @@ void App::Login() { n++; - child_env = static_cast<char**>(malloc(sizeof(char*)*n)); - memcpy(child_env, old_env, sizeof(char*)*n+1); + child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1))); + memcpy(child_env, old_env, sizeof(char*)*n); child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie()); child_env[n] = NULL; # endif /* USE_CONSOLEKIT */
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