#1296 Fix submitted.
This commit is contained in:
parent
a0a4eb5155
commit
2f8681e120
@ -1611,6 +1611,8 @@ namespace Exiv2 {
|
||||
uint32_t TiffImageEntry::doWriteImage(IoWrapper& ioWrapper,
|
||||
ByteOrder /*byteOrder*/) const
|
||||
{
|
||||
if ( !pValue() ) throw Error(21); // #1296
|
||||
|
||||
uint32_t len = pValue()->sizeDataArea();
|
||||
if (len > 0) {
|
||||
#ifdef DEBUG
|
||||
|
||||
Loading…
Reference in New Issue
Block a user