Closed
Bug 766255
Opened 14 years ago
Closed 14 years ago
Stack-buffer-overflow when doing XMLHttpRequest
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ax330d, Unassigned)
Details
(Keywords: testcase, Whiteboard: [asan])
Attachments
(2 files)
ASan detected stack-buffer-overflow happening on build 264f0a7a878c when sending XMLHttp request during (or after) getting WebGL canvas context.
Could not reproduce on build dc410944aabcm (VirtualBox) and on latest Nightly on Windows 7 x64.
| Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Whiteboard: [asan]
Updated•14 years ago
|
Attachment #634541 -
Attachment mime type: application/octet-stream → application/java-archive
Updated•14 years ago
|
Component: Untriaged → DOM
Product: Firefox → Core
QA Contact: untriaged → general
Comment 2•14 years ago
|
||
This involves XHR and WebGL canvas context, so maybe it is a regression from some kind of new DOM bindings thing. How does that sound to you, Boris?
Comment 3•14 years ago
|
||
Seems moderately unlikely, given that we're inside the C++ code at that point and none of the binding stuff is really on the stack there at first glance?
Is this relialy reproducible?
Can someone explain the log involved to me? It looks like the access is 66 bytes into the frame and none of the locals are at that address, right? Is there a line number involved? I don't obviously see one...
Comment 4•14 years ago
|
||
s/relialy/reliably/ of course.
Comment 5•14 years ago
|
||
Judging from the log, strlen is used on some string that is not null-terminated, and that string lives on the stack. However, I was not able to reproduce the issue locally, even with a usable WebGL context.
@Arthur: Is this an opt build? If so, can you try to reproduce with a debug build, maybe one of the nightly debug builds I have put online? Maybe the stack gets better then.
| Reporter | ||
Comment 6•14 years ago
|
||
This was an opt build, but at this moment I have no possibility to check debug build - I am away from my workstation for three weeks, no Linux in my possession.
Comment 7•14 years ago
|
||
If no one can reproduce is it possible some other bug fixed it?
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 8•14 years ago
|
||
Seems that this bug is fixed - can't reproduce on own opt build bcfe6817a213 - also does not crash on decoder's debug build c511865c8ab1 (oldest public could find).
Comment 9•14 years ago
|
||
Hopefully this is fixed then. Please re-open (or re-file, if you can't) if the symptoms come back.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Updated•11 years ago
|
Group: core-security → core-security-release
Updated•9 years ago
|
Group: core-security-release
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•