Searched refs:ifd_size (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_5/ext/exif/ |
| H A D | exif.c | 3526 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local 3557 ifd_size = dir_size; 3617 if (entry_offset + entry_length > dir_offset + ifd_size 3618 && entry_offset == dir_offset + ifd_size) { 3619 ifd_size = entry_offset + entry_length - dir_offset; 3621 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Resize struct: x%04X + x%04X - x%04X = x%04X", entry_offset, entry_length, dir_offset, ifd_size); 3627 if (ifd_size > dir_size) { 3628 if (dir_offset + ifd_size > ImageInfo->FileSize) { 3629 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Error in TIFF: filesize(x%04X) less than size of IFD(x%04X + x%04X)", ImageInfo->FileSize, dir_offset, ifd_size); 3632 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_C [all...] |
| /PHP_5_5/ext/standard/ |
| H A D | image.c | 803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local 812 ifd_size = 2; 813 ifd_data = emalloc(ifd_size); 820 ifd_size = dir_size; 821 ifd_data = erealloc(ifd_data,ifd_size); 827 ifd_size = dir_size;
|
Completed in 11 milliseconds