Prevented possible NULL pointer dereference. Coverity CID 28724.
This commit is contained in:
parent
e1c44a464a
commit
a851713a06
@ -2609,6 +2609,8 @@ ex:;
|
|||||||
int Xorriso__wait_chunk_md5(struct xorriso_md5_state *state,
|
int Xorriso__wait_chunk_md5(struct xorriso_md5_state *state,
|
||||||
int u_wait, int flag)
|
int u_wait, int flag)
|
||||||
{
|
{
|
||||||
|
if(state->chunk_state == NULL)
|
||||||
|
return(1);
|
||||||
while(state->chunk_state[state->chunk_w_idx] == 1) {
|
while(state->chunk_state[state->chunk_w_idx] == 1) {
|
||||||
|
|
||||||
/* >>> have a timeout ? */;
|
/* >>> have a timeout ? */;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.10.084903"
|
#define Xorriso_timestamP "2015.11.10.090901"
|
||||||
|
Loading…
Reference in New Issue
Block a user