Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Web-Scripting:ppc64le
openSUSE:Leap:15.0
rxvt-unicode
rxvt-unicode-9.20-CVE-2008-1142-DISPLAY.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rxvt-unicode-9.20-CVE-2008-1142-DISPLAY.patch of Package rxvt-unicode
Index: src/init.C =================================================================== --- src/init.C.orig 2014-06-10 16:56:11.607914416 +0200 +++ src/init.C 2014-06-10 16:58:40.643914152 +0200 @@ -576,13 +576,12 @@ rxvt_term::init_resources (int argc, con * Open display, get options/resources and create the window */ - if ((rs[Rs_display_name] = getenv ("DISPLAY")) == NULL) - rs[Rs_display_name] = ":0"; + rs[Rs_display_name] = getenv ("DISPLAY"); cmd_argv = get_options (argc, argv); - if (!(display = displays.get (rs[Rs_display_name]))) - rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); + if (!rs[Rs_display_name] || !(display = displays.get (rs[Rs_display_name]))) + rxvt_fatal ("can't open display %s, aborting.\n", (rs[Rs_display_name] ? rs[Rs_display_name] : "as no -display option has been given and DISPLAY is not set")); // using a local pointer decreases code size a lot xa = display->xa;
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