Fix #1011 fix_1011_jp2_readmetadata_loop
This commit is contained in:
@@ -11,7 +11,7 @@ class TestCvePoC(metaclass=system_tests.CaseMeta):
|
||||
filename = "$data_path/poc_2017-12-12_issue188"
|
||||
commands = ["$exiv2 " + filename]
|
||||
stdout = [""]
|
||||
stderr = ["""$exiv2_overflow_exception_message """ + filename + """:
|
||||
$addition_overflow_message
|
||||
stderr = ["""$exiv2_exception_message """ + filename + """:
|
||||
$kerCorruptedMetadata
|
||||
"""]
|
||||
retval = [1]
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
class Test_issue_1011(metaclass=CaseMeta):
|
||||
|
||||
filename = path("$data_path/Jp2Image_readMetadata_loop.poc")
|
||||
commands = ["$exiv2 " + filename]
|
||||
stdout = [""]
|
||||
stderr = ["""$exiv2_exception_message """ + filename + """:
|
||||
$kerCorruptedMetadata
|
||||
"""]
|
||||
retval = [1]
|
||||
Reference in New Issue
Block a user