www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Devanneaux <Thomas.Devanne...@enst.fr>
Subject general/3617: Possible buffer overflow
Date Sun, 03 Jan 1999 15:35:54 GMT

>Number:         3617
>Category:       general
>Synopsis:       Possible buffer overflow
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan  3 07:40:01 PST 1999
>Originator:     Thomas.Devanneaux@enst.fr
>Release:        1.3.3
no importance
When reading a config file with line continuation symbols, there is a bug in
the calculation of the buffer size.

In src/main/util.c, search for the following sequence and invert the 2 last lines:

 * line continuation requested -
 * then remove backslash and continue
 cbuf = cp;
 cbufsize -= (cp-cbuf);
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message