Browse Source

Prevented a potentially severe memory error with disk file pattern expansion. Coverity CID 28765.

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

2
xorriso/match.c

@ -694,7 +694,7 @@ int Xorriso_expand_disk_pattern(struct XorrisO *xorriso,
goto ex;
count+= extra_filec;
mem+= extra_filec*sizeof(char *);
(*mem)+= extra_filec * sizeof(char *);
if(count<=0)
{ret= 0; goto ex;}

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.04.100839"
#define Xorriso_timestamP "2015.11.04.105349"

Loading…
Cancel
Save