Blame tests/bugfixes/github/test_CVE_2017_17669.py

Packit Service 21b5d1
# -*- coding: utf-8 -*-
Packit Service 21b5d1
Packit Service 21b5d1
import system_tests
Packit Service 21b5d1
Packit Service 21b5d1
Packit Service 21b5d1
class TestCvePoC(metaclass=system_tests.CaseMeta):
Packit Service 21b5d1
Packit Service 21b5d1
    url = "https://github.com/Exiv2/exiv2/issues/187"
Packit Service 21b5d1
Packit Service 21b5d1
    filename = "$data_path/issue_187"
Packit Service 21b5d1
    commands = ["$exiv2 " + filename]
Packit Service 21b5d1
    retval = [1]
Packit Service 21b5d1
    stdout = [""]
Packit Service 21b5d1
    stderr = [
Packit Service 21b5d1
	"""$exiv2_exception_message """ + filename + """:
Packit Service 21b5d1
$kerFailedToReadImageData
Packit Service 21b5d1
"""
Packit Service 21b5d1
    ]