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

index 8b9c66e2b53281e5a8f78752b99c41cbd3041e97..cb1aa86f50a197f5ee88795bb0484f9915aeba1e 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;
        }