Copy link
@Jakuje

Jakuje Jun 11, 2018

Obviously, this check should come before the sc_file_free(file);, otherwise we are accessing just freed memory. Or rather the i variable should be used instead of the file->prop_attr_len, isn't it?
Will you submit a PR with these changes?