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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: libio is seriously broken


On Wed, Nov 08, 2000 at 01:10:31PM -0800, H . J . Lu wrote:
> The problem is
> 
> 	free (fp->_IO_save_base);
> 
> in _IO_free_backup_area () in genops.c. Please keep in mind that libio
> uses ALLOC_BUF for main buffer allocation, which calls mmap. But
> malloc/free is used for _IO_save_base. When we switch between backup
> and main buffer, we have to be very careful. Otherwise, we will be
> screwed. I will see what I can do.
> 

Never mind. It was my fault :-).

-- 
H.J. Lu (hjl@gnu.org)

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