-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
㰿硰慣步琿㸊㱸硭⁸浬湳㩰潴濋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯋쯏솸쇁쇀쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁쇁셉䐽∳∯� | ||
<xxm xmlns:poto��������������������������������������������������������������������������������������������������������������������������������ID="3"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from system_tests import CaseMeta, path | ||
import unittest | ||
|
||
# Issue #1821 is a memory leak caused by buggy third-party | ||
# code in the xmpsdk sub-directory, so it isn't easy for us to fix. | ||
# This test will fail when run with an ASAN build. | ||
@unittest.skip("Skipping test until #1821 is fixed") | ||
|
||
class MemoryLeakAddBinding(metaclass=CaseMeta): | ||
""" | ||
Regression test for the bug described in: | ||
https://github.com/Exiv2/exiv2/issues/1821 | ||
""" | ||
url = "https://github.com/Exiv2/exiv2/issues/1821" | ||
|
||
filename = path("$data_path/issue_1821_poc.xmp") | ||
commands = ["$exiv2 -q $filename"] | ||
stdout = ["""File name : $filename | ||
File size : 163 Bytes | ||
MIME type : application/rdf+xml | ||
Image size : 0 x 0 | ||
"""] | ||
stderr = ["""$filename: No Exif data found in the file | ||
"""] | ||
retval = [253] |