when rotating jpegs in place using exiftran after upgrading to libjpeg8 exiftran fails with a "Bogus virtual array access" error message Reproducible: Always Steps to Reproduce: 1. upgrade libjpeg to version 8 or 8a 2. robertw@eta ~ % exiftran -i -9 photos/test/2008-04-16@23-16-28.jpg Actual Results: Image rotated Expected Results: Error message "Bogus virtual array access" image not rotated and temp file left behind.
Sorry Actual Results and Expected results swapped > Actual Results: > Image rotated > > Expected Results: > Error message "Bogus virtual array access" image not rotated and temp file left > behind.
This has been fixed in Arch by updating the bundled libjpeg headers (specifically transupp.{h,c}) as described in the following: http://bugs.archlinux.org/task/18302?project=1&string=libjpeg Fixed locally by using the following steps: 1. ebuild /usr/portage/media-gfx/fbida/fbida-2.07-r1.ebuild unpack 2. replace transupp.{h,c} in /var/tmp/portage/media-gfx/fbida-2.07-r1/work/fbida-2.07/jpeg with those from libjpeg8 3. ebuild /usr/portage/media-gfx/fbida/fbida-2.07-r1.ebuild merge
Michal, I've simply updated the ebuild to copy headers over from jpeg-8a instead of jpeg-7 like -r1 did. +*fbida-2.07-r2 (05 Mar 2010) + + 05 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +fbida-2.07-r2.ebuild: + Update internal libjpeg headers to 8a wrt #307923, thanks to Rob Wallace + for reporting.
(In reply to comment #3) Thanks!