Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55206 invoked from network); 5 Sep 2008 21:19:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2008 21:19:24 -0000 Authentication-Results: pb1.pair.com header.from=rodrigocc@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rodrigocc@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.174 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rodrigocc@gmail.com X-Host-Fingerprint: 209.85.200.174 wf-out-1314.google.com Received: from [209.85.200.174] ([209.85.200.174:31079] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/3E-23120-B52A1C84 for ; Fri, 05 Sep 2008 17:19:23 -0400 Received: by wf-out-1314.google.com with SMTP id 26so596532wfd.26 for ; Fri, 05 Sep 2008 14:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=aKICHDCmXmk8+ozS8P+NB0iN81c6Nw2wPUBY/mgOsIs=; b=R0mkQYG5oOBxUW+2y6FAPg7K60H+uO3a9Qziz8QK567K5vNGUlribCeyzJNh5mU1bN zLYkDQPmdPuYYRB19MsC5yqmJ51smu5zooX9CXCkyDKJPnCkZczbYFbLOqOX5byF3dyj G8CUKadaXeRl7+p8CXdc68ayIDrIpxs8cL/v4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=hMEWovkrIuW2BRCSwmft7ivPU6wEB1iuaNMkI4UdPMy9/ia+OIlNRmJy1k/bpwOUIm Pp7pLL+W+flMwC8y/I89Pg6QjrUFWErVnYb7+KdHHOt6eQVYwMblExsYlHe8UYN6rbwF EqYoxYdDRxmgd+K62fk5rqDQjSUELjdq/jCQ0= Received: by 10.142.240.19 with SMTP id n19mr4228233wfh.243.1220649561089; Fri, 05 Sep 2008 14:19:21 -0700 (PDT) Received: by 10.142.135.1 with HTTP; Fri, 5 Sep 2008 14:19:21 -0700 (PDT) Message-ID: <33d560f70809051419k49cc465ai47a4dc298418ed08@mail.gmail.com> Date: Fri, 5 Sep 2008 18:19:21 -0300 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: PHP snmp extension leaks memory From: rodrigocc@gmail.com ("Rodrigo Campos") Hi! I am writing to the list because there's a bug in the php snmp extension that leaks memory. This bug has been reported by Federico Cuello two months ago here: http://bugs.php.net/bug.php?id=45405 As you can see, Federico uploaded a patch that fixes the problem but added a double free also two months ago. I've updated Federico's patch almost one month and a half ago and published it there too. We are running php with that patch applied since then and it works well for us. I don't know what we can do to have some opinion about the patch and to close the bug (applying this patch or some other way), but I thought that sending an email to the list perhaps could catch more attention :-) As I comment in the bug report, the patch seems simple and correct. I don't know if it matters, but gentoo has applied to the svn tree: http://bugs.gentoo.org/show_bug.cgi?id=231528 If we can help in some way, please let me know. Thanks a lot, Rodrigo