Closed
Bug 1282731
Opened 8 years ago
Closed 8 years ago
Fix various ssl_gtests leaks reported by LSan
Categories
(NSS :: Libraries, defect)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.26
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(7 files)
1.62 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
934 bytes,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
1.31 KB,
patch
|
franziskus
:
review+
|
Details | Diff | Splinter Review |
916 bytes,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
1.23 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
926 bytes,
patch
|
franziskus
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8765821 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8765823 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8765827 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8765833 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8765836 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 6•8 years ago
|
||
Attachment #8765838 -
Flags: review?(franziskuskiefer)
Assignee | ||
Comment 7•8 years ago
|
||
Attachment #8765840 -
Flags: review?(franziskuskiefer)
Comment 8•8 years ago
|
||
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 9•8 years ago
|
||
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 10•8 years ago
|
||
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 11•8 years ago
|
||
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 12•8 years ago
|
||
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 13•8 years ago
|
||
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+
Updated•8 years ago
|
Attachment #8765827 -
Flags: review?(franziskuskiefer) → review+
Assignee | ||
Comment 14•8 years ago
|
||
https://hg.mozilla.org/projects/nss/rev/3a1bfe5e9ed9
https://hg.mozilla.org/projects/nss/rev/ea5513a4fa90
https://hg.mozilla.org/projects/nss/rev/9582c6dbf317
https://hg.mozilla.org/projects/nss/rev/6208863b9446
https://hg.mozilla.org/projects/nss/rev/52cacbeadbba
https://hg.mozilla.org/projects/nss/rev/d7185981d6e2
https://hg.mozilla.org/projects/nss/rev/6d5225e2f809
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.26
You need to log in
before you can comment on or make changes to this bug.
Description
•