• Rafaël Carré's avatar
    fix crash with directory access · 58ac662c
    Rafaël Carré authored
    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
    58ac662c
directory.c 13.4 KB