+2005-03-09 Jan Patera <patera@users.sourceforge.net>
+ * exif_data.c: Final fix of Ubuntu Security Notice USN-91-1
+ https://bugzilla.ubuntulinux.org/show_bug.cgi?id=7152
+
2005-02-08 Hans Ulrich Niedermann <gp@n-dimensional.de>
* autogen.sh: Updated build system:
"Found EXIF header.");
/* Byte order (offset 6, length 2) */
- if (ds < 12)
+ if (ds < 14)
return;
if (!memcmp (d + 6, "II", 2))
data->priv->order = EXIF_BYTE_ORDER_INTEL;
exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData",
"IFD 0 at %i.", (int) offset);
- /* Parse the actual exif data (offset 14) */
+ /* Parse the actual exif data (usually offset 14 from start) */
exif_data_load_data_content (data, data->ifd[EXIF_IFD_0], d + 6,
ds - 6, offset);