diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/CVE-2023-38408-09.patch')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/CVE-2023-38408-09.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/CVE-2023-38408-09.patch b/meta/recipes-connectivity/openssh/openssh/CVE-2023-38408-09.patch new file mode 100644 index 0000000000..b519ccce42 --- /dev/null +++ b/meta/recipes-connectivity/openssh/openssh/CVE-2023-38408-09.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 7adba46611e5d076d7d12d9f4162dd4cabd5ff50 Mon Sep 17 00:00:00 2001 | ||
2 | From: "djm@openbsd.org" <djm@openbsd.org> | ||
3 | Date: Fri, 29 Jan 2021 06:28:10 +0000 | ||
4 | Subject: [PATCH 09/12] upstream: give typedef'd struct a struct name; makes | ||
5 | the fuzzer I'm | ||
6 | |||
7 | writing a bit easier | ||
8 | |||
9 | OpenBSD-Commit-ID: 1052ab521505a4d8384d67acb3974ef81b8896cb | ||
10 | |||
11 | Upstream-Status: Backport [https://github.com/openssh/openssh-portable/commit/8afaa7d7918419d3da6c0477b83db2159879cb33] | ||
12 | CVE: CVE-2023-38408 | ||
13 | Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com> | ||
14 | --- | ||
15 | ssh-agent.c | 4 ++-- | ||
16 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/ssh-agent.c b/ssh-agent.c | ||
19 | index 7ad323c..c99927c 100644 | ||
20 | --- a/ssh-agent.c | ||
21 | +++ b/ssh-agent.c | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -/* $OpenBSD: ssh-agent.c,v 1.270 2021/01/26 00:53:31 djm Exp $ */ | ||
24 | +/* $OpenBSD: ssh-agent.c,v 1.274 2021/01/29 06:28:10 djm Exp $ */ | ||
25 | /* | ||
26 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||
27 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||
28 | @@ -108,7 +108,7 @@ typedef enum { | ||
29 | AUTH_CONNECTION | ||
30 | } sock_type; | ||
31 | |||
32 | -typedef struct { | ||
33 | +typedef struct socket_entry { | ||
34 | int fd; | ||
35 | sock_type type; | ||
36 | struct sshbuf *input; | ||
37 | -- | ||
38 | 2.41.0 | ||