Skip to content

Commit

Permalink
lib-program-client: Fix memory access problem
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Oct 19, 2016
1 parent 4cf10a8 commit ddc3960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-program-client/program-client.c
Expand Up @@ -342,7 +342,7 @@ void program_client_program_input(struct program_client *pclient)
}
if (program_client_input_pending(pclient))
return;
if (!input->eof) {
if (pclient->program_input != NULL && !input->eof) {
program_client_fail(pclient,
PROGRAM_CLIENT_ERROR_IO);
return;
Expand Down

0 comments on commit ddc3960

Please sign in to comment.