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
>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 <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!         ]




Mime
View raw message