mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
pull: Fix crash specifying override URL in summary fetch
The summary URL override is looked up with "&s", which directly exchanges the data to a pointer without allocation. This was causing a segfault calling ostree_repo_remote_fetch_summary_with_options from pygobject. Closes: #829 Approved by: jlebon
This commit is contained in:
parent
4c731165bb
commit
59897f2b84
@ -2459,7 +2459,7 @@ repo_remote_fetch_summary (OstreeRepo *self,
|
||||
g_autoptr(GMainContext) mainctx = NULL;
|
||||
gboolean ret = FALSE;
|
||||
gboolean from_cache = FALSE;
|
||||
g_autofree char *url_override = NULL;
|
||||
const char *url_override = NULL;
|
||||
g_autoptr(GPtrArray) mirrorlist = NULL;
|
||||
|
||||
if (options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user