cvs: php4(PHP_4_0_7) /ext/xslt sablot.c

From: Date: Sat, 15 Dec 2001 13:08:21 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/xslt sablot.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8645@lists.php.net to get a copy of this message
mfischer Sat Dec 15 08:08:21 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/xslt sablot.c Log: - MFH fix for possible crash in xslt_set_scheme_handlers() with invalid handler names. Index: php4/ext/xslt/sablot.c diff -u php4/ext/xslt/sablot.c:1.19.2.4 php4/ext/xslt/sablot.c:1.19.2.5 --- php4/ext/xslt/sablot.c:1.19.2.4 Sat Dec 15 07:30:23 2001 +++ php4/ext/xslt/sablot.c Sat Dec 15 08:08:21 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sablot.c,v 1.19.2.4 2001/12/15 12:30:23 derick Exp $ */ +/* $Id: sablot.c,v 1.19.2.5 2001/12/15 13:08:21 mfischer Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -349,7 +349,8 @@ } /* Invalid handler name */ else { - php_error(E_WARNING, "Invalid option to xslt_set_scheme_handlers(): %s", string_key); + php_error(E_WARNING, "%s() invalid option '%s', skipping", get_active_function_name(TSRMLS_C), string_key); + continue; } *assign_handle = *handler;

« previous php.cvs (#8645) next »