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 95c88a3..56d7e4d 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 6dfb744..be1a3a2 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;