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

Unified Diff: nss/mozilla/security/nss/lib/pk11wrap/pk11akey.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nss/mozilla/security/nss/lib/pk11wrap/pk11akey.c
===================================================================
--- nss/mozilla/security/nss/lib/pk11wrap/pk11akey.c (revision 55475)
+++ nss/mozilla/security/nss/lib/pk11wrap/pk11akey.c (working copy)
@@ -1154,6 +1154,11 @@
return NULL;
}
+ if (!param) {
+ PORT_SetError( SEC_ERROR_INVALID_ARGS );
+ return NULL;
+ }
+
/*
* The opFlags and opFlagMask parameters allow us to control the
* settings of the key usage attributes (CKA_ENCRYPT and friends).

Powered by Google App Engine
This is Rietveld 408576698