fix for standard tiff case

This commit is contained in:
Michał Walenciak 2017-09-19 22:05:32 +02:00
parent 81aa8828e0
commit d460bbdb3f

View File

@ -320,7 +320,7 @@ namespace Exiv2
conditional_byte_swap_4_array<64>(data.pData_, 0, doSwap_);
// big data? Use 'data' as pointer to real data
const bool usePointer = count*size > 8;
const bool usePointer = count*size > dataSize_;
if ( usePointer ) // read into buffer
{