shutdown(8): buffer accessed beyond end during option parsing
This commit is contained in:
parent
2e209097b6
commit
2bda06bbb5
|
@ -160,7 +160,7 @@ char *argv[];
|
|||
opt=argv[i];
|
||||
}
|
||||
reboot_code=opt;
|
||||
opt="";
|
||||
opt+=strlen(opt)-1;
|
||||
}
|
||||
break;
|
||||
case 'R':
|
||||
|
|
Loading…
Reference in a new issue