Bug fix: -boot_image "any" "system_area=/dev/zero" did not zeroize loaded data

This commit is contained in:
2015-12-23 11:18:38 +00:00
parent 0365cffbc5
commit a270ad22f9
7 changed files with 13 additions and 2 deletions

View File

@ -1006,6 +1006,8 @@ treatment_patch:;
if(ret <= 0)
goto ex;
xorriso->system_area_options&= ~0x4000;
if(strcmp(treatpt + 12, "/dev/zero") == 0)
xorriso->system_area_clear_loaded= 1;
} else if(strncmp(treatpt, "partition_table=", 16)==0) {
if(strcmp(treatpt + 16, "off") == 0) {