CVS update: php3/functions

From: Date: Fri, 05 Feb 1999 11:56:17 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3915@lists.php.net to get a copy of this message
Date: Friday February 5, 1999 @ 6:56 Author: zeev Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv304/functions Modified Files: string.c Log Message: Fix invalid pointer arithmetics Index: php3/functions/string.c diff -c php3/functions/string.c:1.175 php3/functions/string.c:1.176 *** php3/functions/string.c:1.175 Fri Feb 5 06:31:24 1999 --- php3/functions/string.c Fri Feb 5 06:56:16 1999 *************** *** 30,36 **** */ ! /* $Id: string.c,v 1.175 1999/02/05 11:31:24 sas Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 30,36 ---- */ ! /* $Id: string.c,v 1.176 1999/02/05 11:56:16 zeev Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 1387,1393 **** } q += off - new; new = off; ! s = q + end - p; } memcpy(q, p, end - p); q = s; --- 1387,1393 ---- } q += off - new; new = off; ! s = q + (end - p); } memcpy(q, p, end - p); q = s; -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3915) next »