Prevented a potentially severe memory error with disk file pattern expansion. Coverity CID 28765.
This commit is contained in:
parent
77639ca1cd
commit
a830452779
@ -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;}
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.04.100839"
|
||||
#define Xorriso_timestamP "2015.11.04.105349"
|
||||
|
Loading…
Reference in New Issue
Block a user