Fix possible crashers in filetypes_detect_from_file_internal()
* Never try to do a regex match on a NULL string; * Don't try to unref a possibly NULL regex.
Showing
Please
register
or
sign in
to comment
* Never try to do a regex match on a NULL string; * Don't try to unref a possibly NULL regex.