Browse Source

Bug fix: iso_image_report_system_area() caused SIGSEGV by NULL if no valid

ISO 9660 image was loeaded. Thanks to OmegaPhil.
release-1.5.4.branch
Thomas Schmitt 7 years ago
parent
commit
c47451d12b
  1. 2
      libisofs/fs_image.c

2
libisofs/fs_image.c

@ -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…
Cancel
Save