]> granicus.if.org Git - php/commitdiff
- MFH Fix condition
authorMarcus Boerger <helly@php.net>
Mon, 10 Apr 2006 18:23:24 +0000 (18:23 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 10 Apr 2006 18:23:24 +0000 (18:23 +0000)
ext/exif/exif.c

index 7c46f364a4d91fc33b23734ddc60745bb1e0e6ec..3d28dd18e48d773a46e2f09bb384d6da8fad9e85 100644 (file)
@@ -1560,7 +1560,7 @@ static void exif_iif_add_value(image_info_type *image_info, int section_index, c
        image_info_data  *info_data;
        image_info_data  *list;
 
-       if (length >= LONG_MAX) {
+       if (length < 0) {
                return;
        }