Note: There are a few cases of duplicates in user autocompletion which are being worked on.

modutil -changepw strict shutdown failure

RESOLVED FIXED in 3.12

Status

NSS
Tools
P2
normal
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Nelson Bolyard (seldom reads bugmail), Assigned: Alexei Volkov)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Let $FIPS be the name of a directory containing an NSS DB file trio 
configured to run in FIPS mode.

When environment variable NSS_STRICT_SHUTDOWN is set to 1,  the command 
   modutil.exe -dbdir $FIPS -changepw "NSS FIPS 140-2 Certificate DB"
crashes in NSS_Shutdown due to a reference leak.

This bug was formerly recorded as a comment in bug 354423.
(Reporter)

Comment 1

11 years ago
I filed this as a "tools" bug, assuming that the bug is in the modutil program.
If the bug is found to be in the NSS libraries, please change this to a 
libraries bug.
Priority: -- → P2
(Assignee)

Comment 2

11 years ago
Created attachment 245249 [details] [diff] [review]
destroy slot before calling NSS_Shutdown
Attachment #245249 - Flags: review?(nelson)
(Reporter)

Comment 3

11 years ago
Comment on attachment 245249 [details] [diff] [review]
destroy slot before calling NSS_Shutdown

r=nelson
Alexei, 
Please combine this patch with the patch for bug 354423, which also patches this same function in cmd/modutil/pk11.c, and do one checkin that fixes both bugs.  Thanks.
Attachment #245249 - Flags: review?(nelson) → review+
(Assignee)

Comment 4

11 years ago
/cvsroot/mozilla/security/nss/cmd/modutil/pk11.c,v  <--  pk11.c
new revision: 1.25; previous revision: 1.24
/cvsroot/mozilla/security/nss/cmd/tests/remtest.c,v  <--  remtest.c
new revision: 1.4; previous revision: 1.3
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.