Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not iterable #21

fgeek opened this issue Apr 1, 2015 · 0 comments

TypeError: 'NoneType' object is not iterable #21

fgeek opened this issue Apr 1, 2015 · 0 comments


Copy link

@fgeek fgeek commented Apr 1, 2015

Fuzzed sample:
Fuzzers used:
SHA1: eab6f36c7c16b06cfc350e0f9e04f334d075642f

import sys
import enzyme
inputfile = sys.argv[1]
    with open(inputfile, 'rb') as f:
        mkv = enzyme.MKV(f)
except enzyme.exceptions.MalformedMKVError:
Traceback (most recent call last):
  File "", line 8, in <module>
    mkv = enzyme.MKV(f)
  File "/usr/local/lib/python2.7/dist-packages/enzyme-0.4.1-py2.7.egg/enzyme/", line 54, in __init__
    self._parse_seekhead(seek_head, segment, stream, specs)
  File "/usr/local/lib/python2.7/dist-packages/enzyme-0.4.1-py2.7.egg/enzyme/", line 74, in _parse_seekhead
    self.video_tracks.extend([VideoTrack.fromelement(t) for t in tracks if t['TrackType'].data == VIDEO_TRACK])
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.