gthumb r2509 - in branches/gthumb-2-10: . libgthumb
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2509 - in branches/gthumb-2-10: . libgthumb
- Date: Thu, 19 Feb 2009 13:10:35 +0000 (UTC)
Author: mjc
Date: Thu Feb 19 13:10:34 2009
New Revision: 2509
URL: http://svn.gnome.org/viewvc/gthumb?rev=2509&view=rev
Log:
2009-02-19 Michael J. Chudobiak <mjc svn gnome org>
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_action):
Better IFD offset checking, to fix bug #572342.
Modified:
branches/gthumb-2-10/ChangeLog
branches/gthumb-2-10/libgthumb/gth-exif-utils.c
Modified: branches/gthumb-2-10/libgthumb/gth-exif-utils.c
==============================================================================
--- branches/gthumb-2-10/libgthumb/gth-exif-utils.c (original)
+++ branches/gthumb-2-10/libgthumb/gth-exif-utils.c Thu Feb 19 13:10:34 2009
@@ -474,7 +474,7 @@
IFD_NAME_PUSH("IFD0");
// As long as we find more IFDs check out the tags in each
- while ((oi >=0 && (i = IFD_OFFSET_PULL()) != 0 && i < readsize - 2)) {
+ while ((oi >=0 && (i = IFD_OFFSET_PULL()) > 0 && i < readsize - 2)) {
cifdi = oi; // remember which ifd we are at
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]