Searched refs:ifd_size (Results 1 – 2 of 2) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | image.c | 792 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; in php_handle_tiff() local 801 ifd_size = 2; in php_handle_tiff() 802 ifd_data = emalloc(ifd_size); in php_handle_tiff() 809 ifd_size = dir_size; in php_handle_tiff() 810 ifd_data = erealloc(ifd_data,ifd_size); in php_handle_tiff() 816 ifd_size = dir_size; in php_handle_tiff()
|
/PHP-8.0/ext/exif/ |
H A D | exif.c | 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() 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() 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() [all …]
|
Completed in 23 milliseconds