bug-glibc
[Top][All Lists]
Advanced

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

Re: some ftpd implementations mishandle CWD ~{


From: Wolfram Gloger
Subject: Re: some ftpd implementations mishandle CWD ~{
Date: Wed, 25 Apr 2001 15:51:55 +0200 (MDT)

> > free (NULL) works fine for glibc - we're following the standards.
> 
> free(NULL) is segfaulting on the reporter's Linux system as well as on mine.
> Cross-post to glibc bugs was FYI but I actually expect it was fixed long
> ago.

free(0) actually causing the segfault would be _really_ strange, as
the first line of code in free() is "if(mem==0) return;" and has been
so for as long as I can remember.

The only causes I can think of are (a) stack corruption and (b) the
use of hooks (__malloc_hook, __free_hook, etc.).

Regards,
Wolfram.



reply via email to

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