A nice little security fix. Things must be rough in moscow...
Submitted by: dima@demos.su (Dima Ruban)
This commit is contained in:
parent
1666a8c2af
commit
b6cbdb1d7d
@ -87,6 +87,11 @@ process_request(mp, rp)
|
||||
rp->answer = BADCTLADDR;
|
||||
return;
|
||||
}
|
||||
if (strchr(mp->l_name, 27)) {
|
||||
syslog(LOG_NOTICE, "Illegal user name. Aborting");
|
||||
rp->answer = FAILED;
|
||||
return;
|
||||
}
|
||||
mp->pid = ntohl(mp->pid);
|
||||
if (debug)
|
||||
print_request("process_request", mp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user