Commit abdf65f7 authored by Jaroslava Fiedlerova's avatar Jaroslava Fiedlerova

avoid buffer overflow in oran_isolate.c - fix

parent 42d2c5e6
...@@ -303,7 +303,7 @@ void make_args(char **argv, int *argc, char *string) ...@@ -303,7 +303,7 @@ void make_args(char **argv, int *argc, char *string)
{ {
p=strchr(tmp, '\n'); p=strchr(tmp, '\n');
if (p!=NULL) *p=0x0; if (p!=NULL) *p=0x0;
argv[i] = strdup(tmp); argv[i++] = strdup(tmp);
} }
*argc=i; *argc=i;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment