Commit 14933c6
committed
_flatpak.py: Don't try to pass a NULL branch to construct a
FlatpakRemoteRef.
In libflatpak, even though FlatpakRef branch property defaults to
NULL, any attempt to set it assumes the value passed is non-NULL,
resulting in a segfault when performing a string search.
Assume 'master' if a broken .flatpakref file doesn't provide a Branch
field. This is a guess, but the only reasonable value to pass.
Fixes linuxmint/mintinstall#448.1 parent ea5bef8 commit 14933c6
File tree
1 file changed
+1
-1
lines changed- usr/lib/python3/dist-packages/mintcommon/installer
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| |||
0 commit comments