Closed Bug 212418 Opened 21 years ago Closed 21 years ago

Crash if local font (file) not readable

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 183729

People

(Reporter: mail, Unassigned)

Details

(Keywords: crash, stackwanted)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030711
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030711

In my case the file tahoma.ttf wasn't readable by a ordinary user. So when
visiting a website using Tahoma font mozilla dumped core with "signal 11". 

strace said the following: 

open("/usr/X11R6/lib/X11/fonts/truetype//tahoma.ttf", O_RDONLY) = -1 EACCES
(Permission denied)
munmap(0x421f2000, 32722)               = 0
--- SIGSEGV (Segmentation fault) ---


Reproducible: Always

Steps to Reproduce:
1. Take away user privileges from a font file 
2. Try to load a WWW-Page using this font


Actual Results:  
Mozilla dumps core

Expected Results:  
Mozilla should simply use another font

I'm using a gentoo build of mozilla 1.4 - so maybe the bug could be caused by
the ebuild-file(?) Sorry for the spam then -:)

*** This bug has been marked as a duplicate of 183729 ***
Severity: normal → critical
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Keywords: crash, stackwanted
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.