The S/MIME libraries overflow the stack when creating a CMS Message



16 years ago
8 years ago


(Reporter: Javier Delgadillo, Unassigned)


Windows NT

Firefox Tracking Flags

(Not tracked)



(1 attachment)



16 years ago
I'm trying to create an S/MIME message that looks like this:

            PKCS7 Data (which is the buffer {0,'t',0,'e',0,'s',0,'t',0,0}

When I try to create this, The CMS encoder gets caught in an infinite recursive
loop and eventually causes a stack over flow exception.  I'm afraid I don't know
enough about the CMS encoder to debug this one on my own.  I'll be attaching a
sample program that reproduces the stack overflow every single time.

Comment 1

16 years ago
Created attachment 73982 [details]
Sample Program

Comment 2

16 years ago
Assigned the bug to Bob.
Assignee: wtc → relyea
Priority: -- → P1
Target Milestone: --- → 3.4.1

Comment 3

16 years ago
Nelson, could you take a look at this bug?  Javi attached
a test program that reproduces the infinite recursive loop.

Assignee: relyea → nelsonb

Comment 4

16 years ago
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee

Comment 5

16 years ago
Set target milestone to NSS 3.5.
Target Milestone: 3.4.1 → 3.5

Comment 6

16 years ago
Moved to 3.6.
Target Milestone: 3.5 → 3.6
I was told today that this problem occurred while trying to use the 
SMIME library in a way that it is not normally used by any normal
SMIME application.  I was told that the application was changed to work 
the way a normal S/MIME app does, and that the problem has not been seen 
since then.  I was told that even if this is fixed now, the application 
will not be changed back to work the way it was working when this bug 
was filed.  

Accordingly, I am reducing the severity and priority of this bug.  
Severity: major → normal
Priority: P1 → P3
Mass retarget all my old NSS bugs that were previous targeted at NSS versions
that have now been released.  
Target Milestone: 3.6 → 3.7

Comment 9

15 years ago
Moved to target milestone 3.8 because the original
NSS 3.7 release has been renamed 3.8.
Target Milestone: 3.7 → 3.8
Remove target milestone of 3.8, since these bugs didn't get into that release.
Target Milestone: 3.8 → ---
QA Contact: bishakhabanerjee → jason.m.reid
QA Contact: jason.m.reid → libraries
Assignee: nelson → nobody
You need to log in before you can comment on or make changes to this bug.