You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Thomas Devanneaux <Th...@enst.fr> on 1999/01/03 16:35:54 UTC
general/3617: Possible buffer overflow
>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
>Last-Modified:
>Originator: Thomas.Devanneaux@enst.fr
>Organization:
apache
>Release: 1.3.3
>Environment:
no importance
>Description:
When reading a config file with line continuation symbols, there is a bug in
the calculation of the buffer size.
>How-To-Repeat:
>Fix:
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);
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@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! ]