Home
last modified time | relevance | path

Searched refs:ifd_size (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/standard/
H A Dimage.c807 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; in php_handle_tiff() local
816 ifd_size = 2; in php_handle_tiff()
817 ifd_data = emalloc(ifd_size); in php_handle_tiff()
824 ifd_size = dir_size; in php_handle_tiff()
825 ifd_data = erealloc(ifd_data,ifd_size); in php_handle_tiff()
831 ifd_size = dir_size; in php_handle_tiff()
/PHP-8.1/ext/exif/
H A Dexif.c4061 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; in exif_process_IFD_in_TIFF_impl() local
4091 ifd_size = dir_size; in exif_process_IFD_in_TIFF_impl()
4151 if (entry_offset + entry_length > dir_offset + ifd_size in exif_process_IFD_in_TIFF_impl()
4152 && entry_offset == dir_offset + ifd_size) { in exif_process_IFD_in_TIFF_impl()
4153 ifd_size = entry_offset + entry_length - dir_offset; in exif_process_IFD_in_TIFF_impl()
4161 if (ifd_size > dir_size) { in exif_process_IFD_in_TIFF_impl()
4162 if (ImageInfo->FileSize < ifd_size || dir_offset > ImageInfo->FileSize - ifd_size) { in exif_process_IFD_in_TIFF_impl()
4166 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size)) { in exif_process_IFD_in_TIFF_impl()
4171 … "Read from TIFF: filesize(x%04X), IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); in exif_process_IFD_in_TIFF_impl()
4173 …file_looped(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); in exif_process_IFD_in_TIFF_impl()
[all …]

Completed in 20 milliseconds