Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 69912
Status: resolved
Priority: 30/
Queue: Imager

People
Owner: Nobody in particular
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.86



Subject: TIFF code casts the io_layer handler function pointers
Date: Sun, 31 Jul 2011 12:42:00 +1000
To: bug-Imager [...] rt.cpan.org
From: tonyc [...] cpan.org
This is unsafe: tif = TIFFClientOpen("(Iolayer)", "rm", (thandle_t) ig, (TIFFReadWriteProc) ig->readcb, (TIFFReadWriteProc) ig->writecb, (TIFFSeekProc) comp_seek, (TIFFCloseProc) ig->closecb, ig->sizecb ? (TIFFSizeProc) ig->sizecb : (TIFFSizeProc) sizeproc, (TIFFMapFileProc) comp_mmap, (TIFFUnmapFileProc) comp_munmap);
Fixed in 0.86