AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.02.14 11:55 "[Tiff] Different output with the same image???", by blp330
2009.02.14 15:55 "Re: [Tiff] Different output with the same image???", by blp330
2009.02.16 12:03 "Re: [Tiff] Different output with the same image???", by Gerben Vos
2009.02.16 15:10 "Re: [Tiff] Different output with the same image???", by Bob Friesenhahn
2009.03.16 12:36 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Gerben Vos
2009.03.16 07:11 "[Tiff] Needs help on implementing the JPEG 7 compression", by Sanjeev Balachander
2009.03.16 10:54 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Gerben Vos
2009.04.04 16:48 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Sanjeev Balachander

2009.02.16 15:10 "Re: [Tiff] Different output with the same image???", by Bob Friesenhahn

Did you write this image using libtiff? It would be best if libtiff would always write bytes like this with a zero value, so I would consider this a (minor) bug. (Never write data from uninitialized buffers, to prevent data leakage and security/privacy issues and all that stuff.)

This behavior also tends to annoy memory check tools like valgrind, making it more difficult to dignose issues in libtiff, and its dependent application.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/