[Bug 1200853] New: pluma - buffer overflow detected
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 Bug ID: 1200853 Summary: pluma - buffer overflow detected Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: screening-team-bugs@suse.de Reporter: felix.niederwanger@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The pluma package crashes with a buffer overflow detected error:
*** buffer overflow detected ***: terminated
The issue arises when a file is saved or the clipboard is used. I'm observing this issue since updating to 20220618, where -D_FORTIFY_SOURCE=3 was introduced. ## Reproducer * Open Pluma * Do something, e.g. open a file, or use the clipboard -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c1 --- Comment #1 from Felix Niederwanger <felix.niederwanger@suse.com> --- Created attachment 859798 --> http://bugzilla.opensuse.org/attachment.cgi?id=859798&action=edit strace of crashing pluma I'm adding a strace of one of the crashes. At first glance I can't spot anything obvious, maybe someone more knowledgable is able to extract some meaningful bits from there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 Peter Tarakanov <peter@astro.spbu.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@astro.spbu.ru -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c2 --- Comment #2 from Peter Tarakanov <peter@astro.spbu.ru> --- When using Ctrl+X, Ctrl+S, Ctrl+Shift etc in Pluma (MATE) the program crashes with "*** buffer overflow detected ***: terminated". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c3 Dura-Kov�cs <balping314@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |CONFIRMED CC| |balping314@gmail.com Severity|Normal |Major --- Comment #3 from Dura-Kov�cs <balping314@gmail.com> --- I could reproduce the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c4 --- Comment #4 from Dura-Kov�cs <balping314@gmail.com> --- I could trace back the issue to an strcpy call. See my upstream ticket for details: https://github.com/mate-desktop/pluma/issues/664 There, I also proposed a solution, but I need someone to test if that's an actual fix. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c5 --- Comment #5 from Felix Niederwanger <felix.niederwanger@suse.com> --- Thanks for the update. I will have a look today or tomorrow when time permits! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c6 Dura-Kov�cs <balping314@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #6 from Dura-Kov�cs <balping314@gmail.com> --- I tested my patch and it indeed fixes the problem. I submitted a patch to OBS: https://build.opensuse.org/request/show/998012 I'll also submit a PR to upstream -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c7 Dura-Kov�cs <balping314@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #7 from Dura-Kov�cs <balping314@gmail.com> --- Fixed version is out in TW 20220819 snapshot. Please upgrade. The patch was also merged upstream and the fixed version should be released with the next major Mate release for all other distros as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1200853 http://bugzilla.opensuse.org/show_bug.cgi?id=1200853#c8 --- Comment #8 from Felix Niederwanger <felix.niederwanger@suse.com> --- Thank you everyone involved! Can confirm that it's fixed in the current TW snapshot. Awesome! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com