You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by sameer <sa...@c2.org> on 1996/02/01 02:51:41 UTC
fixed SEGV for mod_cookies.c
The 1.0.2 mod_cookies.c (post 67a I think) was causing a SEGV. Patch
follows. (I couldn't ftp into hyperreal, something is hosed.)
From: sameer@c2.org (Sameer Parkeh)
Subject: fix mod_cookies.c SEGV
Affects: mod_cookies.c
Problem: the pstrcat call in mod_cookies.c didn't have an ending NULL,
which caused a SEGV with cookies enabled
*** 1.2 1996/01/31 09:08:40
--- mod_cookies.c 1996/02/01 01:43:42
***************
*** 200,206 ****
timz%3600);
/* ignore s= on cookie */
! str = pstrcat(orig->pool, cookie + 2, " \"", orig->the_request, tstr);
write(cls->log_fd, str, strlen(str));
--- 200,206 ----
timz%3600);
/* ignore s= on cookie */
! str = pstrcat(orig->pool, cookie + 2, " \"", orig->the_request, tstr, NULL);
write(cls->log_fd, str, strlen(str));
--
Sameer Parekh Voice: 510-601-9777x3
Community ConneXion, Inc. FAX: 510-601-9734
The Internet Privacy Provider Dialin: 510-658-6376
http://www.c2.org/ (or login as "guest") sameer@c2.org
Numerous send/request time outs
Posted by Richard Freilich <rf...@vertex.tor.hookup.net>.
Just an open question for the people on the list. I'm currently running
Apache 1.0.0 on BSDI 2.0. When checking my error_log, I find a large
number of "send timed out" and "request timed out" errors. Does anybody
know why this might be happening, or what I might be able to do to stop
this from happening?
Thanks for any help/advice.
--
************************** Richard Freilich ***************************
E-mail: rfreilic@hookup.net HookUp Communication Corporation
Webmaster Ontario, Canada (905) 847-8000
******* The more things change, the more they stay the same... ********