Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Issue 9302016: Fix an SECItem leak in the new ECSignatureCreator class. (Closed)

Created:
8 years, 10 months ago by Reid Kleckner
Modified:
8 years, 10 months ago
Reviewers:
wtc, agl, Ryan Hamilton
CC:
chromium-reviews
Visibility:
Public.

Description

Fix an SECItem leak in the new ECSignatureCreator class. R=rch@chromium.org BUG=111317 TEST=ran drmemory on ECSignatureCreator.BasicTest, no longer reports leak Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120085

Patch Set 1 #

Total comments: 2

Patch Set 2 : Eliminate arena and rebase onto master. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -14 lines) Patch
M crypto/ec_signature_creator_nss.cc View 1 2 chunks +9 lines, -14 lines 1 comment Download

Messages

Total messages: 14 (0 generated)
Reid Kleckner
8 years, 10 months ago (2012-01-30 23:16:17 UTC) #1
Ryan Hamilton
LGTM. Thanks for the fix!
8 years, 10 months ago (2012-01-31 00:10:47 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9302016/1
8 years, 10 months ago (2012-01-31 14:53:53 UTC) #3
commit-bot: I haz the power
Presubmit check for 9302016-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-01-31 14:53:55 UTC) #4
Reid Kleckner
Adding Adam to get OWNERS approval.
8 years, 10 months ago (2012-01-31 14:58:32 UTC) #5
agl
https://chromiumcodereview.appspot.com/9302016/diff/1/crypto/ec_signature_creator_nss.cc File crypto/ec_signature_creator_nss.cc (right): https://chromiumcodereview.appspot.com/9302016/diff/1/crypto/ec_signature_creator_nss.cc#newcode96 crypto/ec_signature_creator_nss.cc:96: SECITEM_FreeItem(result, PR_FALSE); Thanks for catching this, but there's an ...
8 years, 10 months ago (2012-01-31 15:40:55 UTC) #6
Ryan Hamilton
https://chromiumcodereview.appspot.com/9302016/diff/1/crypto/ec_signature_creator_nss.cc File crypto/ec_signature_creator_nss.cc (right): https://chromiumcodereview.appspot.com/9302016/diff/1/crypto/ec_signature_creator_nss.cc#newcode96 crypto/ec_signature_creator_nss.cc:96: SECITEM_FreeItem(result, PR_FALSE); On 2012/01/31 15:40:55, agl wrote: > Thanks ...
8 years, 10 months ago (2012-01-31 16:37:16 UTC) #7
Reid Kleckner
How about this? I removed the arena and stack allocated result.
8 years, 10 months ago (2012-01-31 16:56:40 UTC) #8
agl
LGTM, thanks!
8 years, 10 months ago (2012-01-31 17:27:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9302016/5001
8 years, 10 months ago (2012-01-31 17:29:57 UTC) #10
wtc
Patch Set 2 LGTM. Nice catch and good cleanup! https://chromiumcodereview.appspot.com/9302016/diff/5001/crypto/ec_signature_creator_nss.cc File crypto/ec_signature_creator_nss.cc (right): https://chromiumcodereview.appspot.com/9302016/diff/5001/crypto/ec_signature_creator_nss.cc#newcode90 crypto/ec_signature_creator_nss.cc:90: ...
8 years, 10 months ago (2012-01-31 18:43:57 UTC) #11
commit-bot: I haz the power
Try job failure for 9302016-5001 (retry) (retry) on win_rel for step "browser_tests" (clobber build). It's ...
8 years, 10 months ago (2012-01-31 21:03:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9302016/5001
8 years, 10 months ago (2012-02-01 17:19:49 UTC) #13
commit-bot: I haz the power
8 years, 10 months ago (2012-02-01 20:02:47 UTC) #14
Change committed as 120085

Powered by Google App Engine
This is Rietveld 408576698