#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:
parent
c8138546a7
commit
6fc96993a1
@ -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())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user