rasmus Sat Feb 25 21:33:06 2006 UTC Modified files: (Branch: PHP_4_4) /php-src/ext/standard html.c Log: MFH - binary safety patch from Moriyoshi http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/html.c?r1=1.63.2.23.2.1&r2=1.63.2.23.2.2&diff_format=u Index: php-src/ext/standard/html.c diff -u php-src/ext/standard/html.c:1.63.2.23.2.1 php-src/ext/standard/html.c:1.63.2.23.2.2 --- php-src/ext/standard/html.c:1.63.2.23.2.1 Sun Jan 1 13:46:57 2006 +++ php-src/ext/standard/html.c Sat Feb 25 21:33:06 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.63.2.23.2.1 2006/01/01 13:46:57 sniper Exp $ */ +/* $Id: html.c,v 1.63.2.23.2.2 2006/02/25 21:33:06 rasmus Exp $ */ /* * HTML entity resources: @@ -793,7 +793,7 @@ enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); unsigned char replacement[15]; - ret = estrdup(old); + ret = estrndup(old, oldlen); retlen = oldlen; if (!retlen) { goto empty_source;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php