OpenSolaris

Printable Version Enter a New Search
Bug ID 6510146
Synopsis *ico* dumps core when DISPLAY is not set
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:programs
Keywords fuzz | gse-sec-team
Responsible Engineer Alan Coopersmith
Reported Against snv_55
Duplicate Of
Introduced In
Commit to Fix snv_65
Fixed In snv_65
Release Fixed solaris_nevada(snv_65)
Related Bugs
Submit Date 5-January-2007
Last Update Date 12-June-2008
Description
As part of a project to perform Fuzz Testing against the Solaris OS, a problem
was found with this program.  During one or more tests, this program dumped
core when the test file was provided as input to the program using syntax such
as: 

$ program < testfile

The core and test files for each of the relevant failures have been attached
to this bug report so that the tests can be repeated/validated.
*** Test Case ***
Unset the DISPLAY environment variable and run /usr/openwin/demo/ico
Verify it prints "Cannot open display" but does not segfault/crash/coredump.
Work Around
N/A
Comments
N/A