Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
rxvt-unicode
rxvt-unicode-9.02-CVE-2008-1142-DISPLAY.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rxvt-unicode-9.02-CVE-2008-1142-DISPLAY.patch of Package rxvt-unicode
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode-9.02-CVE-2008-1142-DISPLAY.patch?rev=1.1 --- src/init.C 2008-05-04 20:16:26.000000000 +0200 +++ src/init.C 2008-05-04 20:24:14.000000000 +0200 @@ -372,15 +372,16 @@ * 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"); get_options (r_argc, r_argv); - if (!(display = displays.get (rs[Rs_display_name]))) + if (!rs[Rs_display_name] || !(display = displays.get (rs[Rs_display_name]))) { free (r_argv); - rxvt_fatal ("can't open display %s, aborting.\n", 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 given and DISPLAY not set")); } // using a local pointer decreases code size a lot
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