Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(145)

Issue 269310044: Bug1214829

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by franziskus
Modified:
10 years, 8 months ago
Reviewers:
ekr, mt
Visibility:
Public.

Description

[CID 749513] leaked_storage: Variable filename going out of scope leaks the storage it points to

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M lib/softoken/pkcs11.c View 1 2 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 2
mt
https://codereview.appspot.com/269310044/diff/20001/lib/softoken/pkcs11.c File lib/softoken/pkcs11.c (right): https://codereview.appspot.com/269310044/diff/20001/lib/softoken/pkcs11.c#newcode2764 lib/softoken/pkcs11.c:2764: rvstr = NULL; This shouldn't be necessary, since rvstr ...
10 years, 8 months ago (2015-10-16 03:14:04 UTC) #1
franziskus
10 years, 8 months ago (2015-10-16 16:14:24 UTC) #2
On 2015/10/16 03:14:04, mt wrote:
> https://codereview.appspot.com/269310044/diff/20001/lib/softoken/pkcs11.c
> File lib/softoken/pkcs11.c (right):
> 
>
https://codereview.appspot.com/269310044/diff/20001/lib/softoken/pkcs11.c#new...
> lib/softoken/pkcs11.c:2764: rvstr = NULL;
> This shouldn't be necessary, since rvstr has to be NULL to get pass the check
on
> line 2746.

rvstr is actually always NULL when we jump to loser (that switch statement is
unreadable with those indentations... we need clang-format fast)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b