Comment 2 for bug 942595

Revision history for this message
Hobson Lane (hobs) wrote : Re: A malformed MakerNote crashes pyexiv2

  File "/usr/lib/python2.7/dist-packages/pyexiv2/exif.py", line 190, in _get_value
    self._compute_value()
  File "/usr/lib/python2.7/dist-packages/pyexiv2/exif.py", line 185, in _compute_value
    self._value = self._convert_to_python(self._raw_value)
  File "/usr/lib/python2.7/dist-packages/pyexiv2/exif.py", line 333, in _convert_to_python
    return undefined_to_string(value)
  File "/usr/lib/python2.7/dist-packages/pyexiv2/utils.py", line 148, in undefined_to_string
    return ''.join(map(lambda x: chr(int(x)), undefined.rstrip().split(' ')))
  File "/usr/lib/python2.7/dist-packages/pyexiv2/utils.py", line 148, in <lambda>
    return ''.join(map(lambda x: chr(int(x)), undefined.rstrip().split(' ')))
ValueError: invalid literal for int() with base 10: ''