Bug fix: iso_image_report_system_area() caused SIGSEGV by NULL if no valid
ISO 9660 image was loeaded. Thanks to OmegaPhil.
This commit is contained in:
parent
a068a1349a
commit
c47451d12b
@ -4798,6 +4798,8 @@ int iso_impsysa_report(IsoImage *image, struct iso_impsysa_result *target,
|
||||
|
||||
LIBISO_ALLOC_MEM(msg, char, ISO_MAX_SYSAREA_LINE_LENGTH);
|
||||
|
||||
if (sai == NULL)
|
||||
{ret = 0; goto ex;}
|
||||
if (!sai->is_not_zero)
|
||||
{ret = 0; goto ex;}
|
||||
sao = sai->system_area_options;
|
||||
|
Loading…
x
Reference in New Issue
Block a user