On 23 May 2002 [EMAIL PROTECTED] wrote:

> jwoolley    02/05/23 14:04:26
>
>   Modified:    .        CHANGES
>                include  apr_date.h
>                misc     apr_date.c
>   Log:
>   Fixed a segfault in apr_date_parse_rfc() for some date formats
>   because it was overlaying the input string in a totally bogus way.
>
>   Reported by:        Doug MacEachern
>

That ought to fix it.  The only reason we were overwriting those bytes was
to cause the post-if-elseif-calculation to result in 0 values for certain
fields.  This seems a clean enough way to do it.  If you'd rather I
expanded the macros out, I can... it's only three lines per if-block.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to