You need to log in before you can comment on or make changes to this bug.
Created an attachment (id=509) [details] proposed fix Handling of incomplete first and last bytes of the bit string does memory accesses at the address that depends on uninitialized values (i.e. index into zeroruns[] and oneruns[] depends on the data from outside the bit string). The code looks correct anyway, but this prevents it from being tested with those tools. I've rewritten the code to be both simpler (IMHO), and memory testing tools friendly by masking out all uninitialized bits before table lookup. Find the patch in the attachment. tiff-4.0.3 (buganizer lacks a version tag for that)
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets, such as this one, have been migrated to the libtiff GitLab instance at https://gitlab.com/libtiff/libtiff/issues . The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is the initial Bugzilla issue number.