This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Please rev. libexif to prevent segfault
- From: David Arnstein <arnstein at panix dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Jan 2006 21:04:19 -0500
- Subject: Please rev. libexif to prevent segfault
- Reply-to: arnstein at pobox dot com
The default version of the libexif package seems to be 0.6.12-1. There
is a fatal error in this version. It has been fixed in 0.6.13
In exif-data.c, there is a single line of code
if (s & 1) *ds++;
The author really wanted
if (s & 1) (*ds)++;
This bug will be exercised whenever a certain EXIF record has an odd
number of bytes. At that point, a program crash is all but certain.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/