Re: Bug #44872 canary mismatch on efree() - heap overflow detected
| From: | sean finney | Date: | Tue, 14 Oct 2008 13:21:48 +0000 |
| Subject: | Re: Bug #44872 canary mismatch on efree() - heap overflow detected | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40992@lists.php.net to get a copy of this message | ||
hi there,
On Tue, Oct 14, 2008 at 09:55:27AM +0200, Pierre Joye wrote:
> On Tue, Oct 14, 2008 at 8:46 AM, Krister Karlström
> <krister.karlstrom@arcada.fi> wrote:
> > About this bug #44872, I run my small sample script (posted on the bug
> > reporting page) through valgrind and got the attached output. I'm not sure
> > whether this shows that there's a leak in the mssql extension or if this is
> > normal. Valgrind said that 853 bytes where definitely lost, does this mean
> > that there is a memory leak? Hopefully someone who is better to analyze
> > valgrinds output than me can tell the answer... Here's the full output from
> > valgrind:
>
> That's exactly why it is not as easy that some may say. This report
> shows the (expected sometimes) warnings with dl and something related
> to the SNMP extension. The scripts in the bug report were using mysqli
i don't know if it's relevant, but there was recently a fixed bug wrt snmp
memory leakage:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423296
this is the debian bug report, but it has links to php.net and gentoo bug
reports. it also has a patch in the report that you can directly take.
the fixed debian version is 5.2.6-4, so i would expect any ubuntu package
of greater version to also contain the fix, since they sync from the
debian packages.
sean