Closed memory leak with error about -check_media sector bitmapCoverity CID 28751.

master
Thomas Schmitt 7 years ago
parent 91a8e46284
commit 302547406c
  1. 6
      xorriso/check_media.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save