[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev More on crash in mailto processing
From: |
Larry W. Virden |
Subject: |
lynx-dev More on crash in mailto processing |
Date: |
Fri, 29 Jan 1999 18:59:50 -0500 (EST) |
From inside lynx, any URL, I type P and select mail the document.
=====
Please enter a valid internet mail address: address@hidden from uninitialized
(rui):
Attempting to read 4 bytes at address 0xefffd150
which is 1496
bytes above the current stack pointer
Current function is StrAllocVsprintf
387 char *dst_ptr = *pstr;
(dbx 3) where
=>[1] StrAllocVsprintf(pstr = 0xefffd150, dst_len = 0, fmt = 0x277234 "%s %s",
ap = 0xefffcccc), line 387 in "HTString.c"
[2] HTSprintf0(pstr = 0xefffd150, fmt = 0x277234 "%s %s", ...), line 627 in
"HTString.c"
[3] send_file_to_mail(newdoc = 0x2ea430, content_base = 0x56f930
"file://localhost/home/lwv26/public_html/", content_location = (nil)), line 675
in "LYPrint.c"
[4] printfile(newdoc = 0x2ea430), line 1138 in "LYPrint.c"
[5] getfile(doc = 0x2ea430), line 241 in "LYGetFile.c"
[6] mainloop(), line 606 in "LYMainLoop.c"
[7] main(argc = 1, argv = 0xefffe124), line 1731 in "LYMain.c"
=====
Stepping thru the code, I see this - an attempt to do a strlen on dst_ptr
which has a value of zero.
where
[1] strlen(0xa, 0xa, 0xeed594ac, 0x100, 0xeed5a618, 0x0), at 0xeed37c98
=>[2] StrAllocVsprintf(pstr = 0xefffd150, dst_len = 0, fmt = 0x277234 "%s %s",
ap = 0xefffcccc), line 402 in "HTString.c"
[3] HTSprintf0(pstr = 0xefffd150, fmt = 0x277234 "%s %s", ...), line 627 in
"HTString.c"
[4] send_file_to_mail(newdoc = 0x2ea430, content_base = 0x56f930
"file://localhost/home/lwv26/public_html/", content_location = (nil)), line 675
in "LYPrint.c"
[5] printfile(newdoc = 0x2ea430), line 1138 in "LYPrint.c"
[6] getfile(doc = 0x2ea430), line 241 in "LYGetFile.c"
[7] mainloop(), line 606 in "LYMainLoop.c"
[8] main(argc = 1, argv = 0xefffe124), line 1731 in "LYMain.c"
--
Larry W. Virden <URL: mailto:address@hidden>
<URL: http://www.purl.org/NET/lvirden/> <*> O- "No one is what he seems."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev More on crash in mailto processing,
Larry W. Virden <=