Better way to print the error message.

This commit is contained in:
Kevin Backhouse 2021-07-12 18:00:35 +01:00 committed by Christoph Hasse
parent 6685b8db4a
commit fa52d7e2cb
2 changed files with 2 additions and 4 deletions

View File

@ -1237,9 +1237,7 @@ namespace Exiv2 {
if (len < s) len = s;
exif.copy(buf.pData_ + exif.tag() * 2, byteOrder);
} else {
#ifdef EXIV2_DEBUG_MESSAGES
std::cerr << "packIfdId out-of-bounds error: s = " << std::dec << s << "\n";
#endif
EXV_ERROR << "packIfdId out-of-bounds error: s = " << std::dec << s << "\n";
}
}
// Round the size to make it even.

View File

@ -5,7 +5,7 @@ from system_tests import CaseMeta, path
class test_issue_ghsa_mv9g_fxh2_m49m(metaclass=CaseMeta):
filename = path("$data_path/test_issue_ghsa_mv9g_fxh2_m49m.crw")
commands = ["$exiv2 fi $filename"]
commands = ["$exiv2 -q fi $filename"]
stdout = [""]
stderr = ["""Exiv2 exception in fixiso action for file $filename:
$kerCorruptedMetadata