Closed
Bug 303654
Opened 19 years ago
Closed 19 years ago
InstallTrigger.install(null) crashes [@ JS_Enumerate]
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sync2d, Assigned: dveditz)
Details
(Keywords: crash, verified1.8, Whiteboard: [ETA as soon as approved])
Crash Data
Attachments
(1 file)
|
1.91 KB,
patch
|
dveditz
:
review+
dveditz
:
superreview+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b4) Gecko/20050805 Firefox/1.0+ Since InstallTriggerGlobalInstall()'s argument validation is not enough, InstallTrigger.install(null) dereferences NULL pointer and crashes. Reproducible: Always Steps to Reproduce: 1. navigate to: https://addons.mozilla.org/ 2. navigate to: javascript: InstallTrigger.install(null); http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=2&type=iid&id=8130374 Stack Signature JS_Enumerate 4e0ca17c Product ID FirefoxTrunk Build ID 2005080506 Trigger Time 2005-08-06 00:18:16.0 Platform Win32 Operating System Windows 98 4.10 build 67766222 Module JS3250.DLL + (0000417a) URL visited javascript: InstallTrigger.install(null); User Comments Since Last Crash 65 sec Total Uptime 65 sec Trigger Reason Access violation Source File, Line No. c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/js/src/jsapi.c, line 3069 Stack Trace JS_Enumerate [c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/js/src/jsapi.c, line 3069] InstallTriggerGlobalInstall [c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/xpinstall/src/nsJSInstallTriggerGlobal.cpp, line 394]
Updated•19 years ago
|
Attachment #191788 -
Flags: review?(dveditz)
Comment 2•19 years ago
|
||
Confirming with build 2005-08-06-06, Windows XP SeaMonkey trunk.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•19 years ago
|
||
Comment on attachment 191788 [details] [diff] [review] check for NULL Thanks! I'd prefer checking !JSVAL_IS_NULL() for clarity, but it all works out to the same thing in the end. r/sr=dveditz
Attachment #191788 -
Flags: superreview+
Attachment #191788 -
Flags: review?(dveditz)
Attachment #191788 -
Flags: review+
Attachment #191788 -
Flags: approval1.8b4?
| Assignee | ||
Updated•19 years ago
|
Assignee: xpi-engine → dveditz
Whiteboard: [ETA as soon as approved]
Updated•19 years ago
|
Attachment #191788 -
Flags: approval1.8b4? → approval1.8b4+
Comment 5•19 years ago
|
||
verified on Deer Park Branch: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050901 Firefox/1.0+
Keywords: fixed1.8 → verified1.8
Marking as FIXED since already fixed on trunk. Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20050910 Firefox/1.6a1
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 7•19 years ago
|
||
Verified with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050915 Mozilla/1.0
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Crash Signature: [@ JS_Enumerate]
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•