Closed Bug 155598 Opened 22 years ago Closed 15 years ago

icon mime type mismatch in <link rel="shortcut icon" ...> causes Mozilla to crash [@ read_chunk ?]

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: peet, Unassigned)

References

()

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files, 1 obsolete file)

MNG in the <link rel="shortcut icon"...> tag:   
   
- crashes Mozilla on Linux systems   
- crashes it on win9x systems   
- almost hangs w2k systems  
 
An example can be found at http://peet.spb.ru/bug.html
Peter, can you post TAlkback ID for this crash mozilla/bin/components/talkback.exe ?
Severity: major → critical
Keywords: crash, stackwanted
wfm using build 2002070204 on Win2k (trunk).
Please mention build ID, do you crash with latest nightly build ?
OS: other → All
Hardware: PC → All
Mozilla builds that have been tested:  
  
win9x & w2k: build 2002052905  
Linux: build 2002032215, build 2002061013  
Attached video the mng from the site
the site was serving it as text/plain, you can't do that..
Attached file loading this should crash your mozilla (obsolete) —
Attachment #90097 - Attachment mime type: image/x-mng → video/x-mng
Attachment #90098 - Attachment is obsolete: true
i was told that talkback didn't get a useful stack, sorry.
TB7969695G TB7969692Y TB7969686E TB7969683X TB7969461Y TB7969414X TB7969405Q 
TB7969400W TB7968904Y
Assignee: Matti → pavlov
Component: Browser-General → ImageLib
QA Contact: asa → tpreston
Status: UNCONFIRMED → NEW
Ever confirmed: true
original URL does'n work any more (did first time). loading only the
MNG-Atachment crashes only sometime (else whole GUI would wait ~5 sec)..
testcases load with no favicon shown.

linux, 2002070204
 Ok, I'm very sorry. Now:   
   
8<------------------------------------------------------------------------   
[peet@peet peet]$ wget --spider -Y off http://peet.spb.ru/anim.mng    
--00:37:05--  http://peet.spb.ru/anim.mng    
           => `anim.mng'    
Resolving peet.spb.ru... done.    
Connecting to peet.spb.ru[195.19.253.86]:80... connected.    
HTTP request sent, awaiting response... 200 OK    
Length: 2,704 [video/x-mng]    
200 OK    
8<------------------------------------------------------------------------   
And all works perfectly. But:   
   
in any way, when there was text/plain instead of video/x-mng, Mozilla have   
been crashed. I think, that's like DoS...  
 
Summary: MNG in <link rel="shortcut icon" ...> causes Mozilla to crash → icon mime type mismatch in <link rel="shortcut icon" ...> causes Mozilla to crash
every single one of those stacks just says:

MSVCRT.DLL + 0x1041 (0x78001041) 
I don't crash anymore, however, loading latest testcase increased virtual memory
usage by Mozilla to 600MB, this is using build 2002072208 on Win2k (trunk).
Keywords: stackwantedtestcase
Summary: icon mime type mismatch in <link rel="shortcut icon" ...> causes Mozilla to crash → icon mime type mismatch in <link rel="shortcut icon" ...> causes Mozilla to crash [@ read_chunk ?]
Depends on: 156540
*** Bug 231958 has been marked as a duplicate of this bug. ***
URL and Testcases WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060529 Minefield/3.0a1 ID:2006052910
Assignee: pavlov → nobody
QA Contact: tpreston → imagelib
WFM.  MNG support was removed years ago.  I'm sure we would have heard from others if a mime type mismatch was all it took to crash Firefox, since a huge percentage of favicons have the wrong mime type.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ read_chunk ?]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: