cvs: php-src(PHP_5_3) /ext/standard html.c

From: Date: Wed, 26 Nov 2008 02:43:16 +0000
Subject: cvs: php-src(PHP_5_3) /ext/standard html.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-54476@lists.php.net to get a copy of this message
lbarnaud Wed Nov 26 02:43:16 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard html.c Log: MFB 5.2 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/html.c?r1=1.111.2.2.2.14.2.12&r2=1.111.2.2.2.14.2.13&diff_format=u Index: php-src/ext/standard/html.c diff -u php-src/ext/standard/html.c:1.111.2.2.2.14.2.12 php-src/ext/standard/html.c:1.111.2.2.2.14.2.13 --- php-src/ext/standard/html.c:1.111.2.2.2.14.2.12 Tue Oct 21 22:08:37 2008 +++ php-src/ext/standard/html.c Wed Nov 26 02:43:16 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.111.2.2.2.14.2.12 2008/10/21 22:08:37 lbarnaud Exp $ */ +/* $Id: html.c,v 1.111.2.2.2.14.2.13 2008/11/26 02:43:16 lbarnaud Exp $ */ /* * HTML entity resources: @@ -527,6 +527,10 @@ do { if (this_char < 0x80) { more = 0; + if(stat) { + /* we didn't finish the UTF sequence correctly */ + *status = FAILURE; + } break; } else if (this_char < 0xc0) { switch (stat) {

« previous php.cvs (#54476) next »