Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40299 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12628 invoked from network); 6 Sep 2008 07:12:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2008 07:12:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=rodrigocc@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rodrigocc@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.169 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.169 wf-out-1314.google.com Received: from [209.85.200.169] ([209.85.200.169:36703] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/00-12247-65D22C84 for ; Sat, 06 Sep 2008 03:12:22 -0400 Received: by wf-out-1314.google.com with SMTP id 26so761936wfd.26 for ; Sat, 06 Sep 2008 00:12:18 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=N4qcucOaS8HpC17KNNPz0knbX0NeWpP7fP/xYSh+wrQ=; b=FPz5tMwW+EC+rKBdevAghZbM3HJoJxn1w+1ear4vN+yAaAD6M5DtlGcousf6kVFfL7 Av1i+L8qMA8Cr3uJAwHgghJn993LQsf3VfqCiNOb6W/6V9j0dvc9B01MuNAQL4wBoaMt sSTsBrzKAsbN99vxbV4A6ZH3v43mnQcavumcg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=K0UbCz5qerDN6SdE6XnsQ3Z+yhFTOZk4eo0+ryhdjr16uHhvS049IzQgWhBYy+2EpV JoeXmocPT7c5aN122XTG7J7SxpN4hBF+0pTTbbptWI/aozKQoQvNsouHIzxcpEWqNvrA nOBirzI1vFCqRhSe0rSTuKDHGU5zj6I+zLaTw= Received: by 10.142.239.13 with SMTP id m13mr4380011wfh.218.1220685138865; Sat, 06 Sep 2008 00:12:18 -0700 (PDT) Received: by 10.142.135.1 with HTTP; Sat, 6 Sep 2008 00:12:18 -0700 (PDT) Message-ID: <33d560f70809060012r13d4d249u928512fbd13d5d87@mail.gmail.com> Date: Sat, 6 Sep 2008 04:12:18 -0300 To: "Alexey Zakhlestin" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33d560f70809051419k49cc465ai47a4dc298418ed08@mail.gmail.com> Subject: Re: [PHP-DEV] PHP snmp extension leaks memory From: rodrigocc@gmail.com ("Rodrigo Campos") On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin wrote: > On Sat, Sep 6, 2008 at 1:19 AM, Rodrigo Campos wrote: >> 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. > > Can you put final version of patch somewhere where we can download it? > http://phpfi.com/ will be just fine Yes, here it is: http://phpfi.com/350831 Thanks, Rodrigo