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

This commit is contained in:
Thomas Schmitt 2015-11-04 10:54:29 +00:00
parent 77639ca1cd
commit a830452779
2 changed files with 2 additions and 2 deletions

View File

@ -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;}

View File

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