diff --git a/src/add-ons/translators/libtifftranslator/TIFFTranslator.cpp b/src/add-ons/translators/libtifftranslator/TIFFTranslator.cpp index 70f33dea3d..ada66fc8ef 100644 --- a/src/add-ons/translators/libtifftranslator/TIFFTranslator.cpp +++ b/src/add-ons/translators/libtifftranslator/TIFFTranslator.cpp @@ -557,6 +557,9 @@ TIFFTranslator::Identify(BPositionIO *inSource, // at the same time return B_BAD_VALUE; } + bheaderonly = bdataonly = false; + // only allow writing of the entire image + // (fix for buggy programs that lie about what they actually need) uint32 n32ch; memcpy(&n32ch, ch, sizeof(uint32)); @@ -750,6 +753,9 @@ TIFFTranslator::Translate(BPositionIO *inSource, // at the same time return B_BAD_VALUE; } + bheaderonly = bdataonly = false; + // only allow writing of the entire image + // (fix for buggy programs that lie about what they actually need) uint32 n32ch; memcpy(&n32ch, ch, sizeof(uint32));