2002-01-06 Yoshinori K. Okuji <okuji@gnu.org>

* netboot/misc.c (inet_aton): Don't check if *P is an asterisk,
	if I is 3. Reported by Rick (his real name and address are
	unknown).
This commit is contained in:
okuji committed 2002-01-05 18:41:34 +00:00
1 parent a0c6c8b9af
commit 41e19993b5
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ inet_aton (char *p, in_addr *addr)
if (val < 0 || val > 255)
return 0;
if (*p++ != '.')
if (i != 3 && *p++ != '.')
return 0;
ip = (ip << 8) | val;