CVS update: php3/functions
| From: | ssb | Date: | Sun, 16 May 1999 18:23:52 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5712@lists.php.net to get a copy of this message | ||
Date: Sunday May 16, 1999 @ 14:23
Author: ssb
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv22400
Modified Files:
xml.c
Log Message:
fix crasher when using the old XML functions
Index: php3/functions/xml.c
diff -u php3/functions/xml.c:1.25 php3/functions/xml.c:1.26
--- php3/functions/xml.c:1.25 Mon May 10 04:52:03 1999
+++ php3/functions/xml.c Sun May 16 14:23:52 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xml.c,v 1.25 1999/05/10 08:52:03 thies Exp $ */
+/* $Id: xml.c,v 1.26 1999/05/16 18:23:52 ssb Exp $ */
#define IS_EXT_MODULE
#if COMPILE_DL
# if PHP_31
@@ -773,7 +773,9 @@
if (parser->case_folding) {
efree((char *)name);
}
- efree(parser->ltags[parser->level-1]);
+ if (parser->ltags) {
+ efree(parser->ltags[parser->level-1]);
+ }
parser->level--;
}
}
--
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