diff options
author | nelson%bolyard.com <devnull@localhost> | 2007-01-03 12:52:01 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2007-01-03 12:52:01 +0000 |
commit | b9a1a9c0cebc7ea9914e0138112cb42a91a13cf7 (patch) | |
tree | e4226225d95fb5951abbf6a352c3c475cf96dd96 | |
parent | 9aab834e79eab0870068386d40a061d52560e040 (diff) | |
download | nss-hg-b9a1a9c0cebc7ea9914e0138112cb42a91a13cf7.tar.gz |
Bug 354423. Get the right string length. R=alexei.volkov,rrelyea
-rw-r--r-- | security/nss/cmd/modutil/pk11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/cmd/modutil/pk11.c b/security/nss/cmd/modutil/pk11.c index d78a210bb..196af2575 100644 --- a/security/nss/cmd/modutil/pk11.c +++ b/security/nss/cmd/modutil/pk11.c @@ -742,7 +742,7 @@ loser: PORT_Free(newpw); } if(newpw2) { - memset(newpw2, 0, strlen(newpw)); + memset(newpw2, 0, strlen(newpw2)); PORT_Free(newpw2); } return ret; |