Closed
Bug 355840
Opened 19 years ago
Closed 19 years ago
typo in pk11util code
Categories
(SeaMonkey :: Security, defect)
SeaMonkey
Security
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 288726
People
(Reporter: jose, Assigned: dveditz)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.13/source/
there's a small typo in the pk11util code that has unknown consequences. it looks like a reliability bug, but im not entirely sure.
here's a patch:
--- security/nss/lib/pk11wrap/pk11util.c.orig Sat Oct 7 08:58:16 2006
+++ security/nss/lib/pk11wrap/pk11util.c Sat Oct 7 08:58:26 2006
@@ -1128,7 +1128,7 @@
crv = PK11_GETTAB(mod)->C_Finalize(NULL);
/* ok, we slammed the module down, now we need to reinit it in case
* we intend to use it again */
- if (crv = CKR_OK) {
+ if (crv == CKR_OK) {
secmod_ModuleInit(mod);
} else {
/* Finalized failed for some reason, notify the application
Reproducible: Always
found via google codesearch and verified in the latest sources.
Comment 1•19 years ago
|
||
Thanks for reporting, but this already been fixed :). Mozilla 1.7.13 is a quite old codebase.
*** This bug has been marked as a duplicate of 288726 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•