GNOME Bugzilla – Bug 331971
EOG 64-bit pointer truncation in eog-metadata-reader
Last modified: 2006-02-22 20:59:48 UTC
Steps to reproduce: 1. open a jpeg-image that contains EXIF-metadata Stack trace:
+ Trace 66366
Other information: This is observed on a FreeBSD/amd64 7.0-CURRENT system
Created attachment 59810 [details] [review] Fix 64-bit pointer truncation
Ups. I just a few minutes late :-) Actually right way will be to cast gpointer to byte pointer (char*) and ommit all those redundant (void*) casts. See #159863
Created attachment 59815 [details] [review] a more proper fix that essentially gets rid of all the void* magic and simply utilizes guchar*
Applied, thanks Pascal and Alexander! 2006-02-22 Lucas Rocha <lucasr@gnome.org> * libeog/eog-metadata-reader.c: fix 64-bit pointer truncation (Fixes #331971). Patch from Pascal Hofstee <caelian@gmail.com> and Alexander Nedotsukov <bland@freebsd.org>.