Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug-3507 - incorrect dereference of argv when performing variab…
…le interpolation
  • Loading branch information
drivera73 authored and perexg committed Feb 1, 2016
1 parent f074688 commit f785357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spawn.c
Expand Up @@ -414,7 +414,7 @@ spawn_parse_args(char ***argv, int argc, const char *cmd, const char **replace)
strcpy(a, f);
strcat(a, r[1]);
strcat(a, p + l);
*argv[i++] = a;
(*argv)[i++] = a;
break;
}
}
Expand Down

0 comments on commit f785357

Please sign in to comment.