Closed Bug 576983 Opened 14 years ago Closed 8 years ago

libssl: Memory leak when error occurs decoding a received record when decompression is active

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1344660

People

(Reporter: briansmith, Unassigned)

References

(Depends on 1 open bug)

Details

When decompression is active, the plaintext->buf in ssl3_HandleRecord points to a buffer that is allocated within the function. When an error occurs (SSL_ERROR_BAD_MAC_READ), this buffer isn't freed before the function returns.
The patch for Bug 576902 fixes this bug.
Depends on: 576902
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.