Closed Bug 52776 Opened 25 years ago Closed 25 years ago

Crash in nsHTTPResponse::GetContentLength

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 52628

People

(Reporter: jim_nance, Assigned: asa)

References

()

Details

(Keywords: crash)

Using a Red Hat 6.2 X86 system and a cvs pull from Sept 14 (did pulls all day, they all have this problem) I get a crash when I try and bring up www.fortify.net. I ran the program in the debugger, and it looks like a NULL pointer dereference. Notice the "this" argument to the #0 function: 115 if (mContentLength == -1) (gdb) where 5 #0 nsHTTPResponse::GetContentLength (this=0x0, o_ContentLength=0xbffff3b8) at /home/jlnance/src/19980429/mozilla/netwerk/protocol/http/src/nsHTTPResponse.cpp:115 #1 0x40a0df76 in nsHTTPServerListener::OnDataAvailable (this=0x83690a8, channel=0x862c51c, context=0x859a760, i_pStream=0x8683358, i_SourceOffset=0, i_Length=939) at /home/jlnance/src/19980429/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp:557 #2 0x409a3e0f in nsOnDataAvailableEvent::HandleEvent (this=0x8508be8) at /home/jlnance/src/19980429/mozilla/netwerk/base/src/nsAsyncStreamListener.cpp:400 #3 0x409a3097 in nsStreamListenerEvent::HandlePLEvent (aEvent=0x86831a8) at /home/jlnance/src/19980429/mozilla/netwerk/base/src/nsAsyncStreamListener.cpp:97 #4 0x4012624e in PL_HandleEvent (self=0x86831a8) at /home/jlnance/src/19980429/mozilla/xpcom/threads/plevent.c:575
This is a dupe of 52628. *** This bug has been marked as a duplicate of 52628 ***
Severity: normal → critical
Status: NEW → RESOLVED
Closed: 25 years ago
Component: Browser-General → Networking
Keywords: crash
Resolution: --- → DUPLICATE
Summary: NULL pointer dereference causes crash → Crash in nsHTTPResponse::GetContentLength
vrfy dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.