This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I: [PATCH] realloc-related memory leaks fixes


On Fri, Dec 28, 2001 at 05:56:56PM +0100, Andreas Jaeger wrote:
> > - resolv/res_hconf.c seems to have memory leak (possible fix also
> >   attached);
> 
> I don't see a memory leak in res_hconf. Please explain what's wrong.  The
> function is called only once per program.

In this case my patch isn't really useful.

> > - io/fts.c contains memory leaks; I'd suggest to update code from BSD; for
> >   example, OpenBSD have these bugs fixed.
> 
> Can you send a patch for fts.c, please?

Sure.
The patch contains update only for realloc-related functions.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

Attachment: glibc-io_fts-realloc.patch
Description: Text document

Attachment: msg00177/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]