Add tests for #306
parent
a227fcda39
commit
234e5794f6
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import system_tests
|
||||
|
||||
|
||||
class TestCvePoC(metaclass=system_tests.CaseMeta):
|
||||
|
||||
url = "https://github.com/Exiv2/exiv2/issues/306"
|
||||
|
||||
filename = "$data_path/pocIssue306"
|
||||
commands = ["$exiv2 -et " + filename]
|
||||
retval = [1]
|
||||
stdout = [""]
|
||||
stderr = [
|
||||
"""$exception_in_extract """ + filename + """:
|
||||
$kerFailedToReadImageData
|
||||
"""]
|
Loading…
Reference in New Issue