CVS update: php3/functions
| From: | sas | Date: | Thu, 24 Jun 1999 14:40:33 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7528@lists.php.net to get a copy of this message | ||
Date: Thursday June 24, 1999 @ 10:40
Author: sas
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv3439/functions
Modified Files:
file.c
Log Message:
could lead to crashes from time to time - discovered by Thomas Schaefer
Index: php3/functions/file.c
diff -u php3/functions/file.c:1.220 php3/functions/file.c:1.221
--- php3/functions/file.c:1.220 Thu Jun 24 08:55:08 1999
+++ php3/functions/file.c Thu Jun 24 10:40:32 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.220 1999/06/24 12:55:08 sas Exp $ */
+/* $Id: file.c,v 1.221 1999/06/24 14:40:32 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
@@ -315,6 +315,7 @@
/* get the variable value from the content attribute of the meta tag */
tmp=php3i_stristr(buf,"content=\"");
+ val = NULL;
if(tmp) {
tmp+=9;
end=strstr(tmp,"\"");