Closed Bug 23300 Opened 25 years ago Closed 25 years ago

Core dump when displaying a mail message

Categories

(MailNews Core :: MIME, defect, P3)

Other
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dp, Assigned: alecf)

Details

I think a null pointer check is missing in the vcard stuff. I got then when I
was trying to view a mail message with 5.0. Here is the trace:

(gdb) bt 10
#0  0x4031d897 in ?? () from /lib/libc.so.6
#1  0x4003f6f6 in
nsCRT::strlen (s=0x0) at ../../../dist/include/nsCRT.h:127
#2  0x41a5fd84 in
WriteLineToStream (obj=0x8b7a5f8, line=0x0) at mimevcrd.cpp:1735
#3  0x41a5d70f
in OutputAdvancedVcard (obj=0x8b7a5f8, v=0x883c680) at mimevcrd.cpp:886
#4
0x41a5e8dd in WriteOutVCard (obj=0x8b7a5f8, v=0x883c680) at mimevcrd.cpp:1271
#5
 0x41a5b955 in MimeInlineTextVCard_parse_eof (obj=0x8b7a5f8, abort_p=0) at
mimevcrd.cpp:266
#6  0x4179ea44 in ?? () from
/home/dp/build.debug/mozilla/dist/bin/components/libmime.so
#7  0x4179e158 in ??
() from /home/dp/build.debug/mozilla/dist/bin/components/libmime.so
#8
0x417a5265 in ?? () from
/home/dp/build.debug/mozilla/dist/bin/components/libmime.so
#9  0x417a54bd in ??
() from /home/dp/build.debug/mozilla/dist/bin/components/libmime.so
(More stack
frames follow...)
(gdb)
Assignee: bienvenu → rhp
Rich may have fixed this. CC'ing scott, who may have a clue, if not.
Assignee: rhp → alecf
turns out alecf fixed this, I bet.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
yep, indeed I did.
Status: RESOLVED → VERIFIED
Linux Redhat (2000-01-12-12 M13)
Win_nt 4.0 (2000-01-12-11 M13)
Mac (2000-01-12-11 M13)
I am using the 1/12 builds to verify this bug because the current build is not
good.
This problem no longer exists in these builds in POP/IMAP. Will re-open this bug
if it happens in the next builds.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.