Regression test for https://github.com/Exiv2/exiv2/issues/1815
(cherry picked from commit 6e83bddd3a41bd4d23127138e464d8a90c092744)main
parent
c65941c4cd
commit
ed82e63ea0
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, CopyTmpFiles, path
|
||||||
|
@CopyTmpFiles("$data_path/issue_1815_poc.jpg")
|
||||||
|
|
||||||
|
class JpgImageDoWriteMetadataOutOfBoundsRead(metaclass=CaseMeta):
|
||||||
|
"""
|
||||||
|
Regression test for the bug described in:
|
||||||
|
https://github.com/Exiv2/exiv2/issues/1815
|
||||||
|
"""
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/1815"
|
||||||
|
|
||||||
|
filename = path("$tmp_path/issue_1815_poc.jpg")
|
||||||
|
commands = ["$exiv2 rm $filename"]
|
||||||
|
stdout = [""]
|
||||||
|
stderr = [""]
|
||||||
|
retval = [0]
|
Loading…
Reference in New Issue