realloc used
Jeremy Allison
jra at samba.org
Wed Oct 3 16:50:03 GMT 2001
On Wed, Oct 03, 2001 at 12:52:20PM +0300, Alexander Bokovoy wrote:
> On Tue, Oct 02, 2001 at 09:56:29PM +0200, andreas moroder wrote:
> > Hello,
> >
> > in the HEAD cvs from 30.9 realloc was used in a few places instead of
> > Realloc.
> >
> > passdb/pdb_ldap.c at line 301. Attention there is also the leak problem
> > x=reallco(x) where x is never freed if the realloc fails:
> >
> >
> > intl/localealias.c lines 340 and 384
> >
> > nsswitch/winbind_nss.c line 825. Here there is the same x=realloc(x)
> > problem as above.
> Seems that it can be source for the problems of memory leaks in winbindd
> I'm experiencing in past few weeks.
No, the winbindd memory leaks are logic bugs. Tim is working
on them right now.
Jeremy.
More information about the samba-technical
mailing list