shutdown(8): buffer accessed beyond end during option parsing

This commit is contained in:
David van Moolenbroek 2010-09-09 08:48:47 +00:00
parent 2e209097b6
commit 2bda06bbb5

View file

@ -160,7 +160,7 @@ char *argv[];
opt=argv[i];
}
reboot_code=opt;
opt="";
opt+=strlen(opt)-1;
}
break;
case 'R':