missue #357 buffer overrun defensive coding
Merge pull request #362 from melissalinkert/tiff-overflow

Buffer overrun defensive coding