Update of /cvsroot/libexif/exif/libjpeg
In directory sc8-pr-cvs1:/tmp/cvs-serv19279/libjpeg
Modified Files:
jpeg-data.c
Log Message:
2003-03-13 Lutz Mueller <lu...@us...>
* libjpeg/jpeg-data.c: Aravind ara...@us... found
a bug there.
Index: jpeg-data.c
===================================================================
RCS file: /cvsroot/libexif/exif/libjpeg/jpeg-data.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- jpeg-data.c 15 Dec 2002 11:39:13 -0000 1.3
+++ jpeg-data.c 13 Apr 2003 20:42:38 -0000 1.4
@@ -416,7 +416,7 @@
if (!section) {
jpeg_data_append_section (data);
memmove (&data->sections[2], &data->sections[1],
- data->count - 2);
+ sizeof (JPEGSection) * data->count - 2);
section = &data->sections[1];
}
section->marker = JPEG_MARKER_APP1;
|