summaryrefslogtreecommitdiff
path: root/ext/exif/exif.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-04-10 18:23:24 +0000
committerMarcus Boerger <helly@php.net>2006-04-10 18:23:24 +0000
commit3438469b84ed49695c73da8a0f6751d9b2124870 (patch)
tree195966c86f365048741388a866d62fcd17e4a03c /ext/exif/exif.c
parent07d7750487b924380c2d284c5753a963501303bb (diff)
downloadphp-git-3438469b84ed49695c73da8a0f6751d9b2124870.tar.gz
- MFH Fix condition
Diffstat (limited to 'ext/exif/exif.c')
-rw-r--r--ext/exif/exif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 7c46f364a4..3d28dd18e4 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -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;
}