371399 Return NULL string as None from utf8FromString()

1 file Authored by Panu Matilainen 4 years ago, Committed by ttomecek 4 years ago,
    Return NULL string as None from utf8FromString()
    
    Commit 84920f898315d09a57a3f1067433eaeb7de5e830 regressed dnf install
    to segfault at the end due to some NULL string passed to strlen().
    Check for NULL and return it as None, make it an inline function
    to make this saner.
    
        
file modified
+8 -2