Open Bug 286270 Opened 20 years ago Updated 2 years ago

NSS_Shutdown reportedly fails in p7content program

Categories

(NSS :: Libraries, defect, P2)

Tracking

(Not tracked)

People

(Reporter: nelson, Unassigned)

Details

The program named p7content is one of several old QA test programs for 
the deprecated old PKCS7_ API.  It is not run in nightly QA, AFAIK.
None of the old p7* test programs is used in nightly QA AFAIK.
But NSS still uses the old PKCS7_ API internally, IINM.  
IINM, The PKCS12 code uses it.  

Now, it is reported that the p7content program does not shutdown cleanly.
That indicates that there is an object reference leak somewhere in that
program, or in the PKCS7_ library functions that it calls.  If there is 
an object reference leak in the PKCS7_ library functions, we should fix
that.  

So the purpose of this bug is really to determine if there is an object
reference leak in the old PKCS7 decoder code, and fix it if so. 
That is why this bug is filed against component "libraries" and not 
against component "test".

Also, while we're at it, please change the program so that if shutdown
fails, it prints a message to stderr about that failure, in addition to
returning a non-zero program status (as it now does).

Perhaps we should also put this program into all.sh along with the tests
of cmsutil.
QA Contact: bishakhabanerjee → jason.m.reid
QA Contact: jason.m.reid → libraries
Priority: -- → P2
Target Milestone: --- → 3.11.2
Retargetting all P2s to 3.11.3 .
Target Milestone: 3.11.2 → 3.11.3
Target Milestone: 3.11.3 → 3.11.8
Assignee: neil.williams → nobody
Target Milestone: 3.11.8 → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.