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

Unified Diff: mozilla/security/nss/lib/freebl/arcfour.c

Issue 12197027: Merge NSS_3_14_2_RTM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « mozilla/security/nss/lib/ckfw/builtins/nssckbi.h ('k') | mozilla/security/nss/lib/freebl/desblapi.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozilla/security/nss/lib/freebl/arcfour.c
===================================================================
--- mozilla/security/nss/lib/freebl/arcfour.c (revision 180567)
+++ mozilla/security/nss/lib/freebl/arcfour.c (working copy)
@@ -126,7 +126,7 @@
/* verify the key length. */
PORT_Assert(len > 0 && len < ARCFOUR_STATE_SIZE);
- if (len < 0 || len >= ARCFOUR_STATE_SIZE) {
+ if (len == 0 || len >= ARCFOUR_STATE_SIZE) {
PORT_SetError(SEC_ERROR_INVALID_ARGS);
return SECFailure;
}
« no previous file with comments | « mozilla/security/nss/lib/ckfw/builtins/nssckbi.h ('k') | mozilla/security/nss/lib/freebl/desblapi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698