Browse Source

Prevented possible NULL pointer dereference. Coverity CID 28724.

master
Thomas Schmitt 7 years ago
parent
commit
7e260ee39c
  1. 2
      xorriso/drive_mgt.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/drive_mgt.c

@ -2609,6 +2609,8 @@ ex:;
int Xorriso__wait_chunk_md5(struct xorriso_md5_state *state,
int u_wait, int flag)
{
if(state->chunk_state == NULL)
return(1);
while(state->chunk_state[state->chunk_w_idx] == 1) {
/* >>> have a timeout ? */;

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.10.084903"
#define Xorriso_timestamP "2015.11.10.090901"

Loading…
Cancel
Save