Skip to content

Commit 31fbdc9

Browse files
authored
Merge pull request #2040 from l2dy/exec
exec: fix potential use of uninitialized pointer
2 parents 5378fd0 + 9da92ce commit 31fbdc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exec/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ int start_async_exec(struct sip_msg* msg, str* command, str* input,
170170
pv_spec_t *outvar, int *fd)
171171
{
172172
pid_t pid;
173-
FILE *pin = NULL, *pout;
173+
FILE *pin = NULL, *pout = NULL;
174174
int val;
175175

176176
if ((input&&input->s&&input->len) || outvar) {

0 commit comments

Comments
 (0)