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
4d62f529a3
commit
208ac62dc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146827
@ -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