mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-15 21:52:08 -04:00
The first element put in the variant created by flatpak_dir_system_helper_call_deploy() is the repo path, but this is being treated as the installation ID in flatpak_authorize_method_handler(), which results in a seg fault when dir_get_system() returns NULL and this NULL is passed to dir_ref_is_installed(). Fix the seg fault by getting the correct element from the variant. Closes: #2411 Approved by: matthiasclasen