The default bug view has changed. See this FAQ.

Status

SeaMonkey
Security
RESOLVED DUPLICATE of bug 288726
11 years ago
11 years ago

People

(Reporter: jose, Assigned: dveditz)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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

11 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
Last Resolved: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.