Closed memory leak with error about -check_media sector bitmapCoverity CID 28751.
This commit is contained in:
parent
9898b95533
commit
98844ed10e
@ -1,7 +1,7 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -385,7 +385,7 @@ int Sectorbitmap_to_file(struct SectorbitmaP *o, char *path, char *info,
|
||||
strcpy(msg, "Cannot open path ");
|
||||
Text_shellsafe(path, msg+strlen(msg), 0);
|
||||
}
|
||||
return(0);
|
||||
ret= 0; goto ex;
|
||||
}
|
||||
|
||||
l= 0;
|
||||
@ -393,7 +393,7 @@ int Sectorbitmap_to_file(struct SectorbitmaP *o, char *path, char *info,
|
||||
l= strlen(info);
|
||||
if(l > 999999) {
|
||||
strcpy(msg, "Info string is longer than 999999 bytes");
|
||||
return(0);
|
||||
ret= 0; goto ex;
|
||||
}
|
||||
sprintf((char *) buf, "xorriso sector bitmap v2 %-6d\n", l);
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2015.11.03.140546"
|
||||
#define Xorriso_timestamP "2015.11.03.145540"
|
||||
|
Loading…
Reference in New Issue
Block a user