Fixed Stack corruption in TIFFInput