]> gitweb.factorcode.org Git - factor.git/commit
images.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certa...
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 13 Feb 2015 22:58:18 +0000 (14:58 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 13 Feb 2015 22:58:18 +0000 (14:58 -0800)
commit7f40cadf8b30fdc8f491e9c38efffd01e42d8e8c
treeab79e4f92d3905d55033a28da213ea57c17c1ad1
parent857e60db5b4383938f833823fbbb336e65ef0763
images.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certain offsets, then the next offset is after the IDF. If a next-offset is its own previous offset, then it would loop. Now we record the offset and stop if it would loop.
extra/images/tiff/tiff.factor