Skip to content

qmi-file: don't segfault on URI-only file

Eric Caruso requested to merge ejcaruso/libqmi:qmi-file-no-uri into master

You can pass in a URI-only file via qmicli since it creates the file via g_file_new_for_commandline_arg(). This means that we might try to call g_file_get_path (which will be NULL) and then use it later, causing a segfault.

Merge request reports

Loading