mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 21:25:05 +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:
|
case 3:
|
||||||
clientMode = *++argv;
|
clientMode = *++argv;
|
||||||
if (strcmp(clientMode,"-c") != 0) {
|
if (strcmp(clientMode,"-c") != 0) {
|
||||||
clientMode = NULL;
|
|
||||||
fprintf(stderr,"Invalid option: %s\n", clientMode);
|
fprintf(stderr,"Invalid option: %s\n", clientMode);
|
||||||
|
clientMode = NULL;
|
||||||
res = -6;
|
res = -6;
|
||||||
}
|
}
|
||||||
//fall through
|
//fall through
|
||||||
|
|
Loading…
Reference in a new issue