exif_data_save_data consumes all my memory when I call it on the attached image.
- i could not attach the image because it was too large (280 kb). i can send it in an email, just let me know who to send it to.
file that causes libexif to consume a lot of memory
Logged In: YES user_id=1038347 Originator: YES
File Added: badexif.jpg
Logged In: YES user_id=59853 Originator: NO
Please send the image to gp@n-dimensional.de
hun: i was able to resize the image and upload it on 2006-12-25 (see attached files below)
Logged In: YES user_id=236775 Originator: NO
I am unable to reproduce this on libexif 0.6.16. Can you reproduce it using the exif tool?
I can't reproduce this on 0.6.14 or 0.6.17 using the command:
exif --ifd=0 --tag=0x10f --set-value='foo' --output=foo.jpg badexif.jpg
or the test program:
int main(void) { ExifData *ed = exif_data_new_from_file("badexif.jpg"); unsigned char* buf; unsigned int siz; exif_data_save_data(ed, &buf, &siz); exif_data_unref(ed); }
Assuming it has been fixed since this bug was raised.
Log in to post a comment.
file that causes libexif to consume a lot of memory
Logged In: YES
user_id=1038347
Originator: YES
File Added: badexif.jpg
Logged In: YES
user_id=59853
Originator: NO
Please send the image to gp@n-dimensional.de
Logged In: YES
user_id=1038347
Originator: YES
hun: i was able to resize the image and upload it on 2006-12-25 (see attached files below)
Logged In: YES
user_id=236775
Originator: NO
I am unable to reproduce this on libexif 0.6.16. Can you reproduce it using the exif tool?
I can't reproduce this on 0.6.14 or 0.6.17 using the command:
exif --ifd=0 --tag=0x10f --set-value='foo' --output=foo.jpg badexif.jpg
or the test program:
int main(void)
{
ExifData *ed = exif_data_new_from_file("badexif.jpg");
unsigned char* buf;
unsigned int siz;
exif_data_save_data(ed, &buf, &siz);
exif_data_unref(ed);
}
Assuming it has been fixed since this bug was raised.