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: Andreas Jaeger
Subject: Re: some ftpd implementations mishandle CWD ~{
Date: 25 Apr 2001 15:35:46 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.1 (Channel Islands)

"Gregory A Lundberg" <address@hidden> writes:

> > 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.

It works fine on glibc and I don't remember that it ever failed.  What
version of the C library are you using?  Can you show me a simple
program to fails on your system?

Andreas


gee:~/tmp:[0]$ gcc -Wall free-null.c 
./gee:~/tmp:[0]$ ./a.out 
After free (NULL)
gee:~/tmp:[0]$ 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <stdlib.h>
#include <stdio.h>

int
main (void)
{
  free (NULL);
  printf ("After free (NULL)\n");
  return 0;
}
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

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