fix crash with directory access
If a directory was not valid UTF-8, convert_xml_special_chars() would return NULL, we'd have no title to give to our node, and we'd use freed memory when adding the next node to the list. Ensure we give valid UTF-8 to convert_xml_special_chars() Also ensure we give a title to our node in any case
Showing
Please register or sign in to comment