[Icecast-dev] Memory leak on Icecast 2.3.2 / Debian ?
Romain Beauxis
toots at rastageeks.org
Tue Dec 8 08:08:10 PST 2009
Hi all !
Le mardi 8 décembre 2009 05:36:53, Jussi Kukkonen a écrit :
> > The valgrind output seems to indicate a leak in libxml2, I'm gonna try
> > to see if this is linked to the way the icecast or libxml package is
> > compiled/patched in debian, but I'm not too familiar with this kind of
> > problems, so if you have something to say about this issue, I'd love to
> > hear about it!
>
> xmlEncodeEntitiesReentrant() return values must be freed, so probably
> not a libxml problem.
>
> The Debian Testing Icecast source (2.3.2-4) does seem to have a case
> where they are not freed: a do-while loop in stats.c:stats_get_xml() can
> leak when breaking early. This code is not present in -kh17 that I'm
> using and all xmlEncodeEntitiesReentrant() calls are fine there.
I'm co-maintaining the Debian package. I have no time to test it myself right
now, but I'd be interested to have your feedback and fix the issue if you find
it.
Romain
More information about the Icecast-dev
mailing list