From 70e2f78e0336c1bcb2569bc9192ff8dae2ddaef1 Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Sun, 13 Apr 2003 22:48:33 +0200 Subject: [PATCH] 2003-03-13 Lutz Mueller * libjpeg/jpeg-data.c: Aravind found a bug there. --- ChangeLog | 5 +++++ libjpeg/jpeg-data.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 95c88a3..56d7e4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-13 Lutz Mueller + + * libjpeg/jpeg-data.c: Aravind + found a bug there. + 2003-03-18 Lutz Mueller * libexif/exif-data.c (exif_data_new_from_file): Use the new diff --git a/libjpeg/jpeg-data.c b/libjpeg/jpeg-data.c index 6dfb744..be1a3a2 100644 --- a/libjpeg/jpeg-data.c +++ b/libjpeg/jpeg-data.c @@ -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; -- 2.7.4