New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: segfault when answering 'n' on flatpak install #5763
Labels
Comments
Can confirm. Bisecting points to 6e3cc82 |
swick
added a commit
to swick/flatpak
that referenced
this issue
Apr 4, 2024
The transaction ops are a g_autolist(FlatpakTransactionOperation) which means the list gets freed automatically. Calling g_list_free_full without clearing the variable to NULL results in a double-free. Closes: flatpak#5763 Fixes: 6e3cc82 ("Fix memory leaks") Signed-off-by: Sebastian Wick <[email protected]>
4 tasks
GeorgesStavracas
pushed a commit
to GeorgesStavracas/flatpak
that referenced
this issue
Apr 26, 2024
The transaction ops are a g_autolist(FlatpakTransactionOperation) which means the list gets freed automatically. Calling g_list_free_full without clearing the variable to NULL results in a double-free. Closes: flatpak#5763 Fixes: 6e3cc82 ("Fix memory leaks") Signed-off-by: Sebastian Wick <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Flatpak version
1.15.7
What Linux distribution are you using?
Arch Linux
Linux distribution version
rolling
What architecture are you using?
x86_64
How to reproduce
flatpak install com.brave.Browser
Proceed with these changes to the system installation? [Y/n]:
answern
to not proceedExpected Behavior
flatpak command exits cleanly.
Actual Behavior
flatpak throws a segmentation fault.
Full backtrace with debug symbols:
gdb.txt
Additional Information
When I answer
y
the app installs fine so the segfault only happens when answeringn
.The text was updated successfully, but these errors were encountered: