Closed
Bug 569589
Opened 14 years ago
Closed 6 months ago
Access violation when XDR decoding a custom object
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: soubok, Unassigned)
Details
Attachments
(2 files)
In js_XDRObject(), you try to call js_GetClassPrototype with a NULL JSClass argument (in xdr->mode != JSXDR_ENCODE case). This leads to an "Access violation reading location 0x00000000" in js_FindClassObject() on the following line (jsobj.cpp:3848): JSAtom *atom = js_Atomize(cx, clasp->name, strlen(clasp->name), 0);
The bug is not present prior tracemonkey-e643badaabc2 (2010.02.05)
(I made a terrible mistake when exposing XDR API such that it could be called in such ways. Apologies to all involved.)
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•2 years ago
|
Severity: normal → S3
Updated•6 months ago
|
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•