diff options
author | nelsonb%netscape.com <devnull@localhost> | 2000-08-08 05:56:56 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2000-08-08 05:56:56 +0000 |
commit | f1f8099625066da068cbd16af7190b757090443a (patch) | |
tree | d05fcc94fb02f8543bd6bc069d14c12e0f3907fc | |
parent | 12aab93ed79170dbecc97436b09f4e46be5bf1b5 (diff) | |
download | nss-hg-f1f8099625066da068cbd16af7190b757090443a.tar.gz |
Fix crash caused by zeroing a larger buffer than the caller passed in.
-rw-r--r-- | security/nss/lib/freebl/prng_fips1861.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/prng_fips1861.c b/security/nss/lib/freebl/prng_fips1861.c index cd5666cf2..712519fbe 100644 --- a/security/nss/lib/freebl/prng_fips1861.c +++ b/security/nss/lib/freebl/prng_fips1861.c @@ -334,7 +334,7 @@ prng_RandomUpdate(RNGContext *rng, void *data, size_t bytes, unsigned char *q) /* --- UNLOCKED --- */ /* housekeeping */ memset(inputhash, 0, BSIZE); - memset(data, 0, BSIZE); /* let the caller free */ +/* memset(data, 0, BSIZE); /* let the caller free */ return rv; } |