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

Issue 262630043: Bug 1210364 - Potential NULL deref after OOM in nssCertificateCollection_Create() (Closed)

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

Description

Bug 1210364 - Potential NULL deref after OOM in nssCertificateCollection_Create()

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M lib/pki/pkibase.c View 2 chunks +6 lines, -0 lines 1 comment Download

Messages

Total messages: 1
ekr-rietveld
8 years, 7 months ago (2015-10-01 15:13:11 UTC) #1
LGTM with comment.

https://codereview.appspot.com/262630043/diff/1/lib/pki/pkibase.c
File lib/pki/pkibase.c (right):

https://codereview.appspot.com/262630043/diff/1/lib/pki/pkibase.c#newcode1062
lib/pki/pkibase.c:1062: return (nssPKIObjectCollection *)NULL;
You don't need to cast NULL here or below.
Sign in to reply to this message.

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