Re: in_ntoa interesting fault

Alan Cox (alan@cymru.net)
Tue, 11 Jun 1996 09:30:00 +0100 (BST)


> Well, today I built 2.0.0 (fresh, minus all the evil things I've done over the
> past year) to get three different numbers. And then I changed them to in_ntoa
> and what did I get but the first number three times!
>
> Do I smell a gcc fart?!

No. Read the source code carefully this time. in_ntoa uses a static buffer