Re: [PATCH] mod_proxy truncates status line

2002-01-03 Thread Graham Leggett
Adam Sussman wrote: Are you 100% sure the buffer is big enough to do this? If the buffer is of size len the zero will be written past the end of the buffer. In the current code, len is strlen(buffer) so it can be safely assumed to be one less than the length of the buffer (provided of

Re: [PATCH] mod_proxy truncates status line

2001-12-31 Thread Bill Stoddard
On Sun, Dec 30, 2001 at 02:58:16PM +0200, Graham Leggett wrote: Adam Sussman wrote: Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. Are you 100% sure the buffer is big enough to do this? If the

Re: [PATCH] mod_proxy truncates status line

2001-12-30 Thread Graham Leggett
Adam Sussman wrote: Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. Are you 100% sure the buffer is big enough to do this? If the buffer is of size len the zero will be written past the end of the buffer.

Re: [PATCH] mod_proxy truncates status line

2001-12-30 Thread Adam Sussman
On Sun, Dec 30, 2001 at 02:58:16PM +0200, Graham Leggett wrote: Adam Sussman wrote: Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. Are you 100% sure the buffer is big enough to do this? If the buffer

[PATCH] mod_proxy truncates status line

2001-12-28 Thread Adam Sussman
Mod_proxy truncates the status line returned by the proxied server. One character gets snipped off of the end of the status line. -adam Index: modules/proxy/proxy_http.c === RCS file: