Closed Bug 298953 Opened 20 years ago Closed 20 years ago

sslBuffer_Grow leaks memory if PORT_Realloc fails

Categories

(NSS :: Libraries, defect)

3.10
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

sslBuffer_Grow has the common problem of leaking memory when
PORT_Realloc fails.
Attached patch Proposed patchSplinter Review
Attachment #187448 - Flags: review?(nelson)
Comment on attachment 187448 [details] [diff] [review]
Proposed patch

Good catch.
Attachment #187448 - Flags: review?(nelson) → review+
Patch checked in on the NSS trunk for NSS 3.11.

Checking in sslsecur.c;
/cvsroot/mozilla/security/nss/lib/ssl/sslsecur.c,v  <--  sslsecur.c
new revision: 1.30; previous revision: 1.29
done
Severity: normal → minor
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: