leaks from nsSSLSocketThreadData::ensure_buffer_size

RESOLVED DUPLICATE of bug 372876

Status

()

Core
Security: PSM
P2
normal
RESOLVED DUPLICATE of bug 372876
11 years ago
10 years ago

People

(Reporter: dbaron, Assigned: kaie)

Tracking

({mlk})

unspecified
x86
Windows XP
Points:
---
Bug Flags:
blocking1.9 +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
When I start up trunk Firefox with its default homepage, http://www.mozilla.org/projects/minefield/ , I see two 4096 byte leaks at the stack:

PR_Realloc[nspr4 +0x110C1]
NS_Realloc_P[xpcom_core +0x8CF24]
nsMemory::Realloc[pipnss +0x1E411]
nsSSLSocketThreadData::ensure_buffer_size[pipnss +0x26D2B]
nsSSLThread::requestRead[pipnss +0x9CED]
PSMRecv[pipnss +0x299B7]
nsSSLIOLayerRead[pipnss +0x29B28]
PR_Read[nspr4 +0x5919]
nsSocketInputStream::Read[necko +0x43DE1]
nsHttpConnection::OnWriteSegment[necko +0xCA99D]
nsHttpTransaction::WritePipeSegment[necko +0xCDCE7]
nsPipeOutputStream::WriteSegments[xpcom_core +0x554AD]
nsHttpTransaction::WriteSegments[necko +0xCDE2F]
nsHttpConnection::OnSocketReadable[necko +0xCAABA]
nsHttpConnection::OnInputStreamReady[necko +0xCB045]
nsSocketInputStream::OnSocketReady[necko +0x43901]
nsSocketTransport::OnSocketReady[necko +0x46C2E]
nsSocketTransportService::DoPollIteration[necko +0x22230]
nsSocketTransportService::OnProcessNextEvent[necko +0x21D0D]
nsThread::ProcessNextEvent[xpcom_core +0x83F28]
...

I don't see any code for deleting this buffer.

(Note that this SSL connection may have had to do with an update check or something like that, not the default homepage.)
This sounds bad.
Flags: blocking1.9+
Priority: -- → P2
(Assignee)

Comment 2

10 years ago
dupe of bug 372876 which has a patch, waiting for review
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 372876
You need to log in before you can comment on or make changes to this bug.