Kevin Backhouse 4 years ago
parent 01b109e8ff
commit 16dc5f73a5
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, CopyTmpFiles, path
@CopyTmpFiles("$data_path/issue_ghsa_mvc4_g5pv_4qqq_poc.jpg")
class JpegBasePrintStructureInfiniteLoop(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/security/advisories/GHSA-mvc4-g5pv-4qqq
"""
url = "https://github.com/Exiv2/exiv2/security/advisories/GHSA-mvc4-g5pv-4qqq"
filename = path("$tmp_path/issue_ghsa_mvc4_g5pv_4qqq_poc.jpg")
commands = ["$exiv2 -d I rm $filename"]
stdout = [""]
stderr = [
"""Exiv2 exception in erase action for file $filename:
$kerFailedToReadImageData
"""]
retval = [1]
Loading…
Cancel
Save