Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

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



Subject: i_ppal() XS leaks memory if an out of range index is supplied
Date: Sat, 2 Jul 2011 13:14:50 +1000
To: bug-Imager [...] rt.cpan.org
From: tonyc [...] cpan.org
the XS for i_ppal allocates memory then calls validate_i_ppal(). if an out of range index is found validate_i_ppal() croaks() bypassing the myfree() in the caller, leaking memory.
Fixed in 0.85