mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
[PIPEREAD]
Prevent null buffer dereference svn path=/trunk/; revision=63139
This commit is contained in:
parent
82df6707ba
commit
76e0ccc2b9
|
@ -196,8 +196,8 @@ int main(int argc, char** argv)
|
|||
case 3:
|
||||
clientMode = *++argv;
|
||||
if (strcmp(clientMode,"-c") != 0) {
|
||||
clientMode = NULL;
|
||||
fprintf(stderr,"Invalid option: %s\n", clientMode);
|
||||
clientMode = NULL;
|
||||
res = -6;
|
||||
}
|
||||
//fall through
|
||||
|
|
Loading…
Reference in a new issue