o Missed colon in getopt(3) argument makes tftpd(8) crash. Fix that.
PR: misc/81732 Submitted by: Denis Grudkin MFC after: 2 weeks
This commit is contained in:
parent
afb262c7d5
commit
22d9021b72
@ -134,7 +134,7 @@ main(int argc, char *argv[])
|
||||
tzset(); /* syslog in localtime */
|
||||
|
||||
openlog("tftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
|
||||
while ((ch = getopt(argc, argv, "cClns:u:Uw")) != -1) {
|
||||
while ((ch = getopt(argc, argv, "cClns:u:U:w")) != -1) {
|
||||
switch (ch) {
|
||||
case 'c':
|
||||
ipchroot = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user