Project

General

Profile

Bug #616

readMetadata method got crashed for jpeg image.

Added by Kundan Bharti almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
16 Feb 2009
Due date:
% Done:

0%

Estimated time:

Description

Hi

I found one image for which readMetadata method. Could you please look into the issue and is there any solution for it. It may be also possible that the image file has been corrupt, but how i can validate these kinds of image before calling readMetadata method of Image.

Thanks,
Kundan


Files

History

#1

Updated by Andreas Huggel almost 13 years ago

It looks ok here and certainly doesn't crash:

OATEST-02> ./exiv2.exe 20080807.jeudi.07.ao_C3_BBt.2008.16_3A43_3A35.IMG_5282.JPG.rotate.jpg 
Warning: Directory Thumbnail, entry 0x0201: Data area exceeds data buffer, ignoring it.
File name       : 20080807.jeudi.07.ao_C3_BBt.2008.16_3A43_3A35.IMG_5282.JPG.rotate.jpg
File size       : 404212 Bytes
MIME type       : image/jpeg
Image size      : 1600 x 1200
Camera make     : Canon
Camera model    : Canon PowerShot A610
Image timestamp : 2008:08:07 16:43:35
...

This is with the Exiv2 0.18 Windows binary from the homepage.
Which version are you using?

Andreas

#2

Updated by Andreas Huggel almost 13 years ago

  • Status changed from New to Feedback
#3

Updated by Robin Mills almost 13 years ago

I've just build that latest exiv2 for Mac and Ubuntu. Same result as Andreas - no problem here.

Kundan: can you run exiv2 -V
and tell us your version (and your platform)

Robin

#4

Updated by Andreas Huggel almost 13 years ago

Kundan Bharti wrote:

it may be also possible that the image file has been corrupt,
but how i can validate these kinds of image before calling readMetadata method of Image.

If readMetadata crashes it's a bug for Exiv2. You shouldn't have to worry about what images can be fed to it.

-ahu.

#5

Updated by Andreas Huggel over 12 years ago

  • Status changed from Feedback to Closed

Closing this issue. Not reproducible without further feedback.

Also available in: Atom PDF