Bug fix: -boot_image "any" "system_area=/dev/zero" did not zeroize loaded data
This commit is contained in:
@ -440,7 +440,10 @@ int Xorriso_set_system_area(struct XorrisO *xorriso, struct burn_drive *drive,
|
||||
Xorriso_alloc_meM(buf, char, 32768);
|
||||
memset(buf, 0, 32768);
|
||||
system_area_options= xorriso->system_area_options;
|
||||
sa_loaded= iso_image_get_system_area(img, buf, &options, 0);
|
||||
if(xorriso->system_area_clear_loaded)
|
||||
sa_loaded= 0;
|
||||
else
|
||||
sa_loaded= iso_image_get_system_area(img, buf, &options, 0);
|
||||
if(sa_loaded < 0) {
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
Xorriso_report_iso_error(xorriso, "", sa_loaded,
|
||||
|
Reference in New Issue
Block a user