Red Hat Bugzilla – Bug 140904
mozilla and mozilla-based browsers crash when attempting to print if env PRINTER is set to non-existing printer
Last modified: 2008-08-02 19:40:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
mozilla and mozilla-based browsers (firefox, galeon, etc.) crash
(die of SIGSEGV) when attempting to print (selecting File->Print)
if environment variable 'PRINTER' is set to non-existing printer.
strace and ltrace show the SIGSEGV occurs in a strncasecmp.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. export PRINTER=foobar # assuming no printer named 'foobar' exists
2. launch mozilla/firefox/galeon
3. Select File -> Print
Actual Results: SIGSEGV
Expected Results: popup of printing menu
workaround: unset PRINTER, or set it to a correct PRINTER.
Nonetheless, there may be a good reason for having it set to
something not in /etc/printcap.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Works fine in RHEL4 and FC6. Suspect that it got fixed upstream.