forked from Exiv2/exiv2
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
250586e
commit 8016f67
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,37 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors | ||
|
||
class issue_2352_floatToRationalCast_integer_overflow(metaclass=CaseMeta): | ||
url = "https://github.com/Exiv2/exiv2/issues/2352" | ||
filename = "$data_path/issue_2352_poc.jpg" | ||
commands = ["$exiv2 -q $filename"] | ||
retval = [0] | ||
stderr = [""] | ||
stdout = ["""File name : $filename | ||
File size : 20 Bytes | ||
MIME type : image/tiff | ||
Image size : 0 x 0 | ||
Thumbnail : None | ||
Camera make : | ||
Camera model : | ||
Image timestamp : | ||
File number : | ||
Exposure time : | ||
Aperture : | ||
Exposure bias : | ||
Flash : | ||
Flash bias : | ||
Focal length : | ||
Subject distance: -214748.50 m | ||
ISO speed : | ||
Exposure mode : | ||
Metering mode : | ||
Macro mode : | ||
Image quality : | ||
White balance : | ||
Copyright : | ||
Exif comment : | ||
"""] | ||
|
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