bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small bug in libnetfs


From: Marcus Brinkmann
Subject: Re: Small bug in libnetfs
Date: Wed, 20 Dec 2000 03:05:49 +0100
User-agent: Mutt/1.1.4i

On Tue, Dec 19, 2000 at 06:32:16PM -0500, Igor Khavkine wrote:
> I came across a potential segfault in the libnetfs code.

Ah, yup. And that's not the only one of this type. You also find this in
make-peropen.c has the same, and libdiskfs/file-chg.c, too.

A complete list would be helpful. To do this, one should grep for malloc
and realloc and proofread every occurence. Sometimes ENOMEM should be
returned, but NULL is correct here of course.

I am not checking this in right now, as we should do them all at once, so we
don't forget about it.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]