Bug fix: Command -truncate_overwritable on ISO image without MD5 caused double free of memory
This commit is contained in:
parent
2af1e90639
commit
a26df9c49f
@ -27,6 +27,7 @@
|
|||||||
#define Xorriso_free_meM(pt) { \
|
#define Xorriso_free_meM(pt) { \
|
||||||
if(pt != NULL) \
|
if(pt != NULL) \
|
||||||
free((char *) pt); \
|
free((char *) pt); \
|
||||||
|
pt= NULL; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3616,7 +3616,7 @@ int Xorriso_adjust_relocated_sb(struct XorrisO *xorriso,
|
|||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto ex;
|
goto ex;
|
||||||
ret= Xorriso_find_sb_checksum(xorriso, buffer, &vd_end, 0);
|
ret= Xorriso_find_sb_checksum(xorriso, buffer, &vd_end, 0);
|
||||||
if(ret <= 0)
|
if(ret < 0)
|
||||||
goto ex;
|
goto ex;
|
||||||
if(ret > 0) {
|
if(ret > 0) {
|
||||||
checksum_block= ret - 1;
|
checksum_block= ret - 1;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2024.04.27.165051"
|
#define Xorriso_timestamP "2024.04.27.165316"
|
||||||
|
Loading…
Reference in New Issue
Block a user