httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: cvs commit: httpd-2.0/server protocol.c
Date Tue, 04 Dec 2001 21:42:39 GMT
brianp@apache.org wrote:

>   +AP_DECLARE(int) ap_rgetline(char **s, int n, request_rec *r, int fold)

>   -        last_char = pos + length - 1;
>   -        if (last_char < beyond_buff) {
>   +        if (length - 1 < n) {

how do we keep track of buffer overrun conditions when there are
multiple reads?  unlikely, I know, but...

Greg

Mime
View raw message