Add reproducer for #170 to the test suite
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 216 B |
@@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import system_tests
|
||||
|
||||
|
||||
class decodeIHDRChunkOutOfBoundsRead(system_tests.Case):
|
||||
|
||||
url = "https://github.com/Exiv2/exiv2/issues/170"
|
||||
|
||||
filename = "{data_path}/issue_170_poc"
|
||||
|
||||
commands = ["{exiv2} " + filename]
|
||||
stdout = [""]
|
||||
stderr = ["""{exiv2_exception_msg} """ + filename + """:
|
||||
{kerFailedToReadImageData}
|
||||
"""]
|
||||
retval = [1]
|
||||
Reference in New Issue
Block a user