commit: ef52a0b64543e90cf2f925ffa2bfd0aab6d874fa Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sat Jan 20 08:15:39 2024 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sat Jan 20 21:21:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef52a0b6
app-editors/pluma: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../files/pluma-1.26.0-fortify-source-3.patch | 24 ---------------------- 1 file changed, 24 deletions(-) diff --git a/app-editors/pluma/files/pluma-1.26.0-fortify-source-3.patch b/app-editors/pluma/files/pluma-1.26.0-fortify-source-3.patch deleted file mode 100644 index 001d88081ce6..000000000000 --- a/app-editors/pluma/files/pluma-1.26.0-fortify-source-3.patch +++ /dev/null @@ -1,24 +0,0 @@ -https://bugs.gentoo.org/903860 -https://github.com/mate-desktop/pluma/issues/664 -https://github.com/mate-desktop/pluma/pull/665 -https://github.com/mate-desktop/pluma/commit/8ca37beb259f7a62fef2005e888248ec880e44cd - -From 8ca37beb259f7a62fef2005e888248ec880e44cd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bal=C3=A1zs=20Dura-Kov=C3=A1cs?= <balping...@gmail.com> -Date: Thu, 18 Aug 2022 17:44:41 +0200 -Subject: [PATCH] Fix out-of-bounds write - -Closes https://github.com/mate-desktop/pluma/issues/664 - -The size of tempfont was one byte too short, so strcpy performed an out-of-bounds write of the terminating 0. ---- a/pluma/pluma-window.c -+++ b/pluma/pluma-window.c -@@ -318,7 +318,7 @@ pluma_window_key_press_event (GtkWidget *widget, - g_strcanon (tempsize, "1234567890", '\0'); - g_strreverse (tempsize); - -- gchar tempfont [strlen (font)]; -+ gchar tempfont [strlen (font) + 1]; - strcpy (tempfont, font); - tempfont [strlen (font) - strlen (tempsize)] = 0; -