This queue is for tickets about the Imager CPAN distribution.

Maintainer(s)' notes

Tickets for Imager are now on github at https://github.com/tonycoz/imager

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

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

BugTracker
Severity:
Important
Broken in:
0.84
Fixed in:
(no value)



From tony@develop-help.com Fri Jul 1 23: 15:00 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.883 tagged_above=-99.9 required=10 tests=[AWL=0.016, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_FAIL=0.001] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <20110702031449.GA15033@mars.tony.develop-help.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.883
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id AD5502404A1 for <cpan-bug+Imager@hipster.bestpractical.com>; Fri, 1 Jul 2011 23:15:00 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rUfsiiJi14rI for <cpan-bug+Imager@hipster.bestpractical.com>; Fri, 1 Jul 2011 23:14:58 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7EB1B240462 for <bug-Imager@rt.cpan.org>; Fri, 1 Jul 2011 23:14:57 -0400 (EDT)
Received: (qmail 20857 invoked by uid 103); 2 Jul 2011 03:14:57 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 2 Jul 2011 03:14:57 -0000
Received: from 202-154-105-237.people.net.au (HELO mars.tony.develop-help.com) (202.154.105.237) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 01 Jul 2011 20:14:55 -0700
Received: from mars.tony.develop-help.com (localhost [127.0.0.1]) by mars.tony.develop-help.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id p623EosN016318 for <bug-Imager@rt.cpan.org>; Sat, 2 Jul 2011 13:14:50 +1000
Received: (from tony@localhost) by mars.tony.develop-help.com (8.14.3/8.14.3/Submit) id p623EoK5016316 for bug-Imager@rt.cpan.org; Sat, 2 Jul 2011 13:14:50 +1000
Delivered-To: cpan-bug+Imager@hipster.bestpractical.com
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: i_ppal() XS leaks memory if an out of range index is supplied
Return-Path: <tony@develop-help.com>
X-RT-Mail-Extension: imager
X-Original-To: cpan-bug+Imager@hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Sat, 2 Jul 2011 13:14:50 +1000
X-Spam-Level:
To: bug-Imager@rt.cpan.org
From: tonyc@cpan.org
X-RT-Original-Encoding: us-ascii
Content-Length: 181
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.
MIME-Version: 1.0
In-Reply-To: <20110702031449.GA15033@mars.tony.develop-help.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <20110702031449.GA15033@mars.tony.develop-help.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20559-1314658074-230.69242-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 13
Fixed in 0.85


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.