Date: Fri, 16 Jul 1999 09:20:02 -0700 (PDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/10231: inet_addr() doesn't check for illegal values in Message-ID: <199907161620.JAA61531@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/10231; it has been noted by GNATS. From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: John Polstra <jdp@polstra.com> Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/10231: inet_addr() doesn't check for illegal values in Date: Fri, 16 Jul 1999 12:17:34 -0400 (EDT) <<On Fri, 16 Jul 1999 09:10:02 -0700 (PDT), John Polstra <jdp@polstra.com> said: > Yes, it's a bug. The patch has the right idea but it isn't quite > right in all the details. For example, in the first chunk of the > patch: > Also, in the second chunk of the patch, under case 3, there's a bug. > The line should read: Actually, the whole function should be rewritten to use strtoul() rather than hand-rolling Yet Another integer parser. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907161620.JAA61531>