[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: freeaddrinfo/getaddrinfo bug
From: |
Mark Robinson |
Subject: |
Re: freeaddrinfo/getaddrinfo bug |
Date: |
Thu, 24 Jan 2002 16:53:56 -0800 |
On January 24, 2002 02:08 am, Andreas Jaeger wrote:
> Mark Robinson <address@hidden> writes:
> > When I call freeaddrinfo() on a addrinfo* I get a segfault. The code for
> > freeaddrinfo() is very simple, and looks fine. I believe the bug lies in
> > getaddrinfo leaving ai_next of the last addrinfo element set to an
> > invalid(uninitialized) pointer.
>
> Can you send a small program that shows the bug to the list?
>
> Thanks,
> Andreas
My bad, it appears it was my code that was bad not glibc. I was just
checking over it today and I noticed one of those stupid memory bugs. Sorry
guys
Mark