Closed Bug 1282731 Opened 8 years ago Closed 8 years ago

Fix various ssl_gtests leaks reported by LSan

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

Attachments

(7 files)

No description provided.
Comment on attachment 8765821 [details] [diff] [review] 0002-Bug-1282731-Destroy-Poller-timers-on-gtest-shutdown.patch Review of attachment 8765821 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8765821 - Flags: review?(franziskuskiefer) → review+
Comment on attachment 8765823 [details] [diff] [review] 0003-Bug-1282731-Free-base-PRFileDesc-when-destroying-Dum.patch Review of attachment 8765823 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8765823 - Flags: review?(franziskuskiefer) → review+
Comment on attachment 8765838 [details] [diff] [review] 0007-Bug-1282731-Free-old-NPN-data-in-tls13_HandleEncrypt.patch Review of attachment 8765838 [details] [diff] [review]: ----------------------------------------------------------------- LGTM ::: lib/ssl/tls13con.c @@ +2341,5 @@ > illegal_parameter); > return SECFailure; > } > } > + SECITEM_FreeItem(&oldNpn, PR_FALSE); Good catch.
Attachment #8765838 - Flags: review?(franziskuskiefer) → review+
Comment on attachment 8765836 [details] [diff] [review] 0006-Bug-1282731-Don-t-leak-ss-ssl3.hs.srvVirtName.patch Review of attachment 8765836 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8765836 - Flags: review?(franziskuskiefer) → review+
Comment on attachment 8765833 [details] [diff] [review] 0005-Bug-1282731-Free-arena-in-tls13_HandleCertificateReq.patch Review of attachment 8765833 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8765833 - Flags: review?(franziskuskiefer) → review+
Comment on attachment 8765840 [details] [diff] [review] 0008-Bug-1282731-Free-sid-when-aborting-the-handshake-in-.patch Review of attachment 8765840 [details] [diff] [review]: ----------------------------------------------------------------- ::: lib/ssl/ssl3con.c @@ +9607,5 @@ > (void)SSL3_SendAlert(ss, alert_fatal, desc); > /* FALLTHRU */ > loser: > + if (sid && sid != ss->sec.ci.sid) { > + if (ss->sec.uncache) please add braces
Attachment #8765840 - Flags: review?(franziskuskiefer) → review+
Attachment #8765827 - Flags: review?(franziskuskiefer) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: