This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Please rev. libexif to prevent segfault


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]