Browse Source

Fixed SIGSEGV while image import. Introduced by rev 1216.

release-1.5.4.branch
Thomas Schmitt 6 years ago
parent
commit
905f4f898f
  1. 2
      libisofs/fs_image.c

2
libisofs/fs_image.c

@ -1636,7 +1636,7 @@ int iso_file_source_new_ifs(IsoImageFilesystem *fs, IsoFileSource *parent,
"Invalid NM entry");
continue;
}
if (strlen(name) > 4095) {
if (name != NULL) if (strlen(name) > 4095) {
/* Preliminarily truncate totally oversized name */
ret = iso_rr_msg_submit(fsdata, 3, ISO_WRONG_RR_WARN, ret,
"Totally oversized NM list");

Loading…
Cancel
Save