Commit 523fe32b authored by Milan Crha's avatar Milan Crha

secret-file-backend: Fix use-after-free in flatpak

The on_portal_retrieve_secret() can connect a GCancellable, but it
doesn't disconnect from it (only when the cancellable is cancelled),
which means when the cancellable is cancelled later, when the GTask
is gone, the callback is called with already freed data.
parent eb4f967e
Pipeline #161981 passed with stages
in 5 minutes and 7 seconds