#711: Quickfix for Exif.OlympusIp.0x1104 which points to the beginning of the image. With this change the value is truncated now, i.e., it's size is set to 0.
This commit is contained in:
+1
-1
@@ -1502,7 +1502,7 @@ namespace Exiv2 {
|
||||
byte* pData = p;
|
||||
if ( size > 4
|
||||
&& ( baseOffset() + offset >= size_
|
||||
|| static_cast<int32_t>(baseOffset()) + offset < 0)) {
|
||||
|| static_cast<int32_t>(baseOffset()) + offset <= 0)) {
|
||||
#ifndef SUPPRESS_WARNINGS
|
||||
std::cerr << "Error: Offset of "
|
||||
<< "directory " << tiffGroupName(object->group())
|
||||
|
||||
Reference in New Issue
Block a user