#57 exif_data_save_data consuming all memory

closed-works-for-me
libexif (62)
5
2008-11-26
2006-11-19
No

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.

Discussion

  • mike morrison

    mike morrison - 2006-12-26

    file that causes libexif to consume a lot of memory

     
  • mike morrison

    mike morrison - 2006-12-26

    Logged In: YES
    user_id=1038347
    Originator: YES

    File Added: badexif.jpg

     
  • Hans Ulrich Niedermann

    • assigned_to: nobody --> hun
    • status: open --> pending
     
  • Hans Ulrich Niedermann

    Logged In: YES
    user_id=59853
    Originator: NO

    Please send the image to gp@n-dimensional.de

     
  • mike morrison

    mike morrison - 2007-05-11
    • status: pending --> open
     
  • mike morrison

    mike morrison - 2007-05-11

    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)

     
  • Dan Fandrich

    Dan Fandrich - 2008-01-24

    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?

     
  • Dan Fandrich

    Dan Fandrich - 2008-11-26

    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.

     
  • Dan Fandrich

    Dan Fandrich - 2008-11-26
    • status: open --> closed-works-for-me
     

Log in to post a comment.