Closed Bug 765011 Opened 13 years ago Closed 13 years ago

Global-buffer-overflow in XPCWrappedNativeProto::GetScriptableInfo

Categories

(Core :: XPConnect, defect)

16 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 752340

People

(Reporter: ax330d, Assigned: mccr8)

Details

(Keywords: crash, testcase, Whiteboard: [asan][sg:dupe 752340])

Attachments

(2 files)

Attached file ASan log
ASan reported global-buffer-overflow on build cf4face65451. Without test-case atm.
Version: 15 Branch → 16 Branch
Component: Untriaged → XPConnect
Product: Firefox → Core
QA Contact: untriaged → xpconnect
After loading test-case, one have to wait ~7 seconds until crash.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [asan]
Attachment #633899 - Attachment mime type: application/octet-stream → application/java-archive
this is weird: 0x7f5491d9ec10 is located 16 bytes to the left of global variable 'DeadObjectProxy::sDeadObjectFamily (/home/arthurg/Desktop/Firefox/src/js/src/jswrapper.cpp)' (0x7f5491d9ec20) of size 4 'DeadObjectProxy::sDeadObjectFamily (/home/arthurg/Desktop/Firefox/src/js/src/jswrapper.cpp)' is ascii string '' 0x7f5491d9ec10 is located 24 bytes to the right of global variable 'js::CrossCompartmentWrapper::singleton (/home/arthurg/Desktop/Firefox/src/js/src/jswrapper.cpp)' (0x7f5491d9ebe0) of size 24
Assignee: nobody → continuation
I'm pretty sure this is a dupe of bug 752340. I can reproduce the crash locally fairly quickly, but with the patch in the other bug there's no crash after a couple of minutes. Furthermore, when I add some assertions that check the underlying problem in bug 752340, the test case here asserts immediately without the patch, and not at all after a couple of minutes. (I haven't uploaded the assertion patch yet.) Please reopen this bug if the patch doesn't fix it for you (or send mail to security@ if you aren't able to reopen the bug). Thanks.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Keywords: crash, testcase
Whiteboard: [asan] → [asan][sg:dupe 752340]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: