valid_host_name(): accept string lengths upto 75 chars (the limit accepted by glibc resolver)
This commit is contained in:
parent
fd2e7d9ebb
commit
babc4dfb08
@ -121,7 +121,7 @@ valid_host_name (char *address, int length)
|
||||
int i = 0;
|
||||
char ret = 1;
|
||||
|
||||
if ((length > 24) || (length == 1)) {
|
||||
if ((length > 75) || (length == 1)) {
|
||||
ret = 0;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user