View | Details | Raw Unified | Return to bug 132684
Collapse All | Expand All

(-)php-4.4.0/ext/exif/exif.c (-2 / +8 lines)
Lines 3014-3021 Link Here
3014
		}
3014
		}
3015
	}
3015
	}
3016
	/*
3016
	/*
3017
	 * Hack to make it process IDF1 I hope
3017
	 * Ignore IFD2 if it purportedly exists
3018
	 * There are 2 IDFs, the second one holds the keys (0x0201 and 0x0202) to the thumbnail
3018
	 */
3019
	if (section_index == SECTION_THUMBNAIL) {
3020
		return TRUE;
3021
	}
3022
	/*
3023
	 * Process IFD1
3024
	 * There are up to 2 IFDs, the second one holds the keys (0x0201 and 0x0202) to the thumbnail
3019
	 */
3025
	 */
3020
	NextDirOffset = php_ifd_get32u(dir_start+2+12*de, ImageInfo->motorola_intel);
3026
	NextDirOffset = php_ifd_get32u(dir_start+2+12*de, ImageInfo->motorola_intel);
3021
	if (NextDirOffset) {
3027
	if (NextDirOffset) {

Return to bug 132684