Lines Matching refs:ifd_size
4027 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; in exif_process_IFD_in_TIFF_impl() local
4053 ifd_size = dir_size; in exif_process_IFD_in_TIFF_impl()
4113 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF_impl()
4114 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF_impl()
4115 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF_impl()
4117 … "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4123 if (ifd_size > dir_size) { in exif_process_IFD_in_TIFF_impl()
4124 if (ImageInfo->FileSize < ifd_size || dir_offset > ImageInfo->FileSize - ifd_size) { in exif_process_IFD_in_TIFF_impl()
4125 … filesize(x%04X) less than size of IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4128 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size)) { in exif_process_IFD_in_TIFF_impl()
4133 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4135 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF_impl()
4205 (char *) ImageInfo->file.list[sn].data, ifd_size); in exif_process_IFD_in_TIFF_impl()