Re: core dump in 2.0b2

From: Kent Landfield <kent_at_hypermail-project.org>
Date: Mon, 29 Jun 1998 11:20:23 -0500 (CDT)
Message-Id: <199806291620.LAA07420_at_landfield.com>


# I think you have header information which is longer than the maximum
# string lengths (like MSGDSTRLEN). If this happens, there will be a
# null termination in position MSGDSTRLEN (which in C is an error, since
# arrays are indexed 0 - LEN-1).
#
# An example from parse.c, function getid line 419:
# - %< ----------------------------------------------------------------
# for (i = 0; *c && *c != '>' && *c != '\n' && i < MSGDSTRLEN; c++) {
# if (*c == '\\')
# continue;
# msgid[i++] = *c;
# }
#
# msgid[i] = '\0';
# - %< ----------------------------------------------------------------

This is currently corrected in my development copy. I am planning on ripping out all static storage in hypermail as soon as I get this initial merged version out.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
Email: kent_at_landfield.com             http://www.landfield.com/
Email: kent_at_nfr.net                   http://www.nfr.net/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/
Received on Mon 29 Jun 1998 06:28:41 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:49 PM GMT GMT