cvs: php-src(PHP_4_3) /ext/standard image.c

From: Date: Tue, 01 Mar 2005 13:53:35 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard image.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30665@lists.php.net to get a copy of this message
sesser Tue Mar 1 08:53:35 2005 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard image.c Log: MFH http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.72.2.16&r2=1.72.2.17&ty=u Index: php-src/ext/standard/image.c diff -u php-src/ext/standard/image.c:1.72.2.16 php-src/ext/standard/image.c:1.72.2.17 --- php-src/ext/standard/image.c:1.72.2.16 Thu Feb 24 15:54:18 2005 +++ php-src/ext/standard/image.c Tue Mar 1 08:53:35 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.72.2.16 2005/02/24 20:54:18 helly Exp $ */ +/* $Id: image.c,v 1.72.2.17 2005/03/01 13:53:35 sesser Exp $ */ #include "php.h" #include <stdio.h> @@ -711,6 +711,11 @@ break; } + /* Stop if this was the last box */ + if ((int)box_length <= 0) { + break; + } + /* Skip over LBox (Which includes both TBox and LBox itself */ if (php_stream_seek(stream, box_length - 8, SEEK_CUR)) { break;

« previous php.cvs (#30665) next »