Searched refs:ifd_size (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_3/ext/exif/ |
| H A D | exif.c | 3550 size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value=0, fgot; local 3581 ifd_size = dir_size; 3641 if (entry_offset + entry_length > dir_offset + ifd_size 3642 && entry_offset == dir_offset + ifd_size) { 3643 ifd_size = entry_offset + entry_length - dir_offset; 3645 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); 3651 if (ifd_size > dir_size) { 3652 if (dir_offset + ifd_size > ImageInfo->FileSize) { 3653 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); 3656 if (exif_file_sections_realloc(ImageInfo, sn, ifd_size TSRMLS_C [all...] |
| /PHP_5_3/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 12 milliseconds