Bug fix: Command -truncate_overwritable on ISO image without MD5 caused double free of memory
This commit is contained in:
@ -3616,7 +3616,7 @@ int Xorriso_adjust_relocated_sb(struct XorrisO *xorriso,
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
ret= Xorriso_find_sb_checksum(xorriso, buffer, &vd_end, 0);
|
||||
if(ret <= 0)
|
||||
if(ret < 0)
|
||||
goto ex;
|
||||
if(ret > 0) {
|
||||
checksum_block= ret - 1;
|
||||
|
Reference in New Issue
Block a user