Closed Bug 173711 Opened 22 years ago Closed 19 years ago

Crash when reading S/Mime message with OCSP enabled

Categories

(MailNews Core :: Security: S/MIME, defect, P2)

1.0 Branch
x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.8.1

People

(Reporter: KaiE, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [kerh-bra])

Attachments

(2 files)

Enable OCSP. Open a particular S/Mime message (I'll attach it). Mozilla crashes (I'll also attach a stack trace).
Blocks: 157555
Attached file Mail message that triggers a crash (deleted) —
Attached file Stack (deleted) —
Keywords: crash, nsbeta1
Target Milestone: --- → 2.4
I filed NSS bug 173715.
Depends on: 173715
Priority: -- → P2
Version: unspecified → 2.4
actually, it's -> S/Mime
Component: Client Library → S/MIME
Comment on attachment 102442 [details] Stack Kai, could you print the value of *addr in pt_Connect?
Kai, Could you attach the message in mozilla folder format ? I'm not sure how to transfer your attachment as is into mozilla to test this problem. Thanks.
> Kai, could you print the value of *addr in pt_Connect? #10 0x40347c91 in pt_Connect (fd=0x8a463b8, addr=0xbfffeca0, timeout=30000) at /home/kaie/trunk/mozilla/nsprpub/pr/src/pthreads/ptio.c:1531 1531 PR_ASSERT(IsValidNetAddr(addr) == PR_TRUE); Current language: auto; currently c (gdb) print *addr $2 = {raw = {family = 0, data = '\0' <repeats 13 times>}, inet = {family = 0, port = 0, ip = 0, pad = "\0\0\0\0\0\0\0"}, ipv6 = { family = 0, port = 0, flowinfo = 0, ip = {_S6_un = {_S6_u8 = '\0' <repeats 15 times>, _S6_u16 = {0, 0, 0, 0, 0, 0, 0, 0}, _S6_u32 = {0, 0, 0, 0}, _S6_u64 = {0, 0}}}, scope_id = 0}, local = {family = 0, path = '\0' <repeats 103 times>}}
Julien, simply add one line before the message, move it to your "Local Folders" directory, and the file will be understood as a mailbox file: The added line is: From -
Hmm, it appears I can only reproduce this crash with a debug build.
By the definitions on <http://bugzilla.mozilla.org/bug_status.html#severity> and <http://bugzilla.mozilla.org/enter_bug.cgi?format=guided>, crashing and dataloss bugs are of critical or possibly higher severity. Only changing open bugs to minimize unnecessary spam. Keywords to trigger this would be crash, topcrash, topcrash+, zt4newcrash, dataloss.
Severity: normal → critical
Mass reassign ssaux bugs to nobody
Assignee: ssaux → nobody
Product: PSM → Core
Whiteboard: [kerh-bra]
Target Milestone: psm2.4 → Future
non-critical as it happens only with a debug build.
Severity: critical → normal
Because OCSP is important, let's retest this for 1.8.1, because the underlying NSS bug is said to be fixed. Most likely this is worksforme.
Target Milestone: Future → mozilla1.8.1
using mozilla mail from branch 1.8 i no longer crash using the attached email, neither in debug nor optimized build worksforme
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Version: psm2.4 → 1.0 Branch
Product: Core → MailNews Core
QA Contact: junruh → s.mime
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: