2009.05.19 12:32 "[Tiff] Heap corruption caused by TIFFRGBAImageGet() + TIFFSetDirectory() + TIFFRewriteDirectory()", by

2009.06.15 00:00 "Re: [Tiff] Tiff 16 bit and 32 bit images", by Scott Ribe

You'd certainly get further if you actually allocated destination before copying to it ;-)

Also, the way you're walking through buffer makes no sense at all.

--
Scott Ribe
scott_ribe@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice