Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/bz-flatpak-instance.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,13 @@ load_local_ref_fiber (LoadLocalRefData *data)
g_autoptr (GBytes) appstream = NULL;
g_autoptr (AsComponent) component = NULL;

if (path == NULL)
return dex_future_new_reject (
BZ_FLATPAK_ERROR,
BZ_FLATPAK_ERROR_IO_MISBEHAVIOR,
"Cannot load '%s' as a flatpak bundle: URI is not a local file",
uri);

bref = flatpak_bundle_ref_new (file, &local_error);
if (bref == NULL)
return dex_future_new_reject (
Expand Down
Loading