Segmentation Fault when tried to read metadata from a non-image file

Bug #519566 reported by Jacobo de Vera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
Fix Released
Medium
Olivier Tilloy

Bug Description

In revision 271, similar to #514408 or #504513.
I try to read a non-image file, e.g. an ASCII text file and I get segmentation fault rather than a python exception.

To reproduce:

imd = pyexiv2.ImageMetadata("atextfile.txt")
imd.read()

Segmentation fault

Related branches

Olivier Tilloy (osomon)
Changed in pyexiv2:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

Fixed in revision 272.

Changed in pyexiv2:
assignee: nobody → Olivier Tilloy (osomon)
milestone: none → 0.2
status: Confirmed → Fix Committed
Olivier Tilloy (osomon)
Changed in pyexiv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.