Closed winglian closed 8 years ago
Created issue in node-stream-parser https://github.com/TooTallNate/node-stream-parser/issues/6. May be author will agree to change upstream
@puzrin I have a TIFF file that's 4MB that exhibits the bug when I was trying to parse it, but it probably isn't a good idea to drop a file that large into the repo as a fixture. I checked the other formats, JPEG already had a workaround and none of the others had a dynamic skip that would lead to that condition.
Please. squash all to single commit
/cc @rlidwka take a look please
Published, with more fixes of the same type of bugs + tests.
If count === 0, the stream-parser will throw an error. https://github.com/TooTallNate/node-stream-parser/blob/master/index.js#L117