cvs: php-src(PHP_5_0) /ext/standard image.c
| From: | Stefan Esser | Date: | Tue, 01 Mar 2005 13:53:19 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard image.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30664@lists.php.net to get a copy of this message | ||
sesser Tue Mar 1 08:53:19 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard image.c
Log:
MFH
http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.98.2.6&r2=1.98.2.7&ty=u
Index: php-src/ext/standard/image.c
diff -u php-src/ext/standard/image.c:1.98.2.6 php-src/ext/standard/image.c:1.98.2.7
--- php-src/ext/standard/image.c:1.98.2.6 Tue Mar 1 05:13:15 2005
+++ php-src/ext/standard/image.c Tue Mar 1 08:53:19 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: image.c,v 1.98.2.6 2005/03/01 10:13:15 helly Exp $ */
+/* $Id: image.c,v 1.98.2.7 2005/03/01 13:53:19 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;