Closed vikasnkumar closed 5 months ago
I was getting that failure all over cpantesters and couldn't pinpoint it -- finally, thank you!
However, that's not a Prima bug, that's a libtiff bug that was introduced and quickly fixed within a week, and apparently kali and other distros picked it before waiting for a proper release.
I created a small package if you want to file that bug upstream. The bug is that they wanted to do a proper memory protection but it was badly executed, and instead of reading tiff file properly, it warns like this:
TIFFFetchDirectory: Warning, Requested memory size for TIFF directory of 156 is greather than filesize 0. Memory not allocated, TIFF directory not read. TIFFReadDirectory: Failed to read directory at offset 10.
The bug was fixed last year.. I'm not sure what is the best way to deal with it on Prima level if the library itself is buggy. libtiff-bug.tar.gz
I believe this should do it. Kindly check if this works for you, and if not, do reopen
@dk i tested on both Debian 11 and Kali Linux and your fix works. please make a release when you can ! Thank you.
v1.73 is out, will appear on cpan shortly
Hello I am doing an install on Kali Linux which is a debian clone.
See attached
build.log
for the unit tests failing. I have all the dependencies installed as per the Readme. The tests fail on TIFF and I have both the types of TIFF Libraries installed.build.log