2003-03-13 Lutz Mueller <lutz@users.sourceforge.net>
authorLutz Mueller <lutz.s.mueller@gmail.com>
Sun, 13 Apr 2003 20:48:33 +0000 (22:48 +0200)
committerLutz Mueller <lutz.s.mueller@gmail.com>
Sun, 13 Apr 2003 20:48:33 +0000 (22:48 +0200)
* libjpeg/jpeg-data.c: Aravind <aravinds1@users.sourceforge.net>
  found a bug there.

ChangeLog
libjpeg/jpeg-data.c

index 95c88a329ca9acc28ca3714ea2a401bd84a0e537..56d7e4d2e86e885f6dcfdc46785da401b8247626 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-13  Lutz Mueller <lutz@users.sourceforge.net>
+
+       * libjpeg/jpeg-data.c: Aravind <aravinds1@users.sourceforge.net>
+         found a bug there.
+
 2003-03-18  Lutz Mueller <lutz@users.sourceforge.net>
 
        * libexif/exif-data.c (exif_data_new_from_file): Use the new
index 6dfb74456189b7ffda1f0f597a524d67296bbbf8..be1a3a2279595f2dfbf0f30ad7d59470eb875289 100644 (file)
@@ -416,7 +416,7 @@ jpeg_data_set_exif_data (JPEGData *data, ExifData *exif_data)
        if (!section) {
                jpeg_data_append_section (data);
                memmove (&data->sections[2], &data->sections[1],
-                        sizeof (JPEGSection) * data->count - 2);
+                        sizeof (JPEGSection) * (data->count - 2));
                section = &data->sections[1];
        }
        section->marker = JPEG_MARKER_APP1;