summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:33 +0000
commit98396d661d76a98491cf9de99fa50ae08894374d (patch)
treecffdf812f06ee728717d39bffcb4f69833f4e578 /debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch
parentMerging upstream version 2.40. (diff)
downloadutil-linux-98396d661d76a98491cf9de99fa50ae08894374d.tar.xz
util-linux-98396d661d76a98491cf9de99fa50ae08894374d.zip
Adding debian version 2.40-1.debian/2.40-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch')
-rw-r--r--debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch b/debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch
deleted file mode 100644
index 1a0acd7..0000000
--- a/debian/patches/upstream/wall-fix-escape-sequence-Injection-CVE-2024-28085.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Karel Zak <kzak@redhat.com>
-Date: Thu, 21 Mar 2024 11:16:20 +0100
-Subject: wall: fix escape sequence Injection [CVE-2024-28085]
-
-Let's use for all cases the same output function.
-
-Reported-by: Skyler Ferrante <sjf5462@rit.edu>
-Signed-off-by: Karel Zak <kzak@redhat.com>
----
- term-utils/wall.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/term-utils/wall.c b/term-utils/wall.c
-index 377db45..1e7e9ab 100644
---- a/term-utils/wall.c
-+++ b/term-utils/wall.c
-@@ -328,7 +328,7 @@ static char *makemsg(char *fname, char **mvec, int mvecsz,
- int i;
-
- for (i = 0; i < mvecsz; i++) {
-- fputs(mvec[i], fs);
-+ fputs_careful(mvec[i], fs, '^', true, TERM_WIDTH);
- if (i < mvecsz - 1)
- fputc(' ', fs);
- }