diff options
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch index dc576d1a11..004b1dbd19 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2021-27803.patch | |||
@@ -18,15 +18,19 @@ p2p_add_device() so that the stale pointer cannot be used. | |||
18 | Fixes: 17bef1e97a50 ("P2P: Add peer entry based on Provision Discovery Request") | 18 | Fixes: 17bef1e97a50 ("P2P: Add peer entry based on Provision Discovery Request") |
19 | Signed-off-by: Jouni Malinen <jouni@codeaurora.org> | 19 | Signed-off-by: Jouni Malinen <jouni@codeaurora.org> |
20 | 20 | ||
21 | Upstream-Status: Acepted [https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32] | 21 | Upstream-Status: Backport |
22 | CVE: CVE-2021-27803 | 22 | CVE: CVE-2021-27803 |
23 | Signed-off-by: Minjae Kim <flowergom@gmail.com> | 23 | |
24 | Reference to upstream patch: | ||
25 | [https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32] | ||
26 | |||
27 | Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> | ||
24 | --- | 28 | --- |
25 | src/p2p/p2p_pd.c | 12 +++++------- | 29 | src/p2p/p2p_pd.c | 12 +++++------- |
26 | 1 file changed, 5 insertions(+), 7 deletions(-) | 30 | 1 file changed, 5 insertions(+), 7 deletions(-) |
27 | 31 | ||
28 | diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c | 32 | diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c |
29 | index 3994ec03f86b..05fd593494ef 100644 | 33 | index 3994ec0..05fd593 100644 |
30 | --- a/src/p2p/p2p_pd.c | 34 | --- a/src/p2p/p2p_pd.c |
31 | +++ b/src/p2p/p2p_pd.c | 35 | +++ b/src/p2p/p2p_pd.c |
32 | @@ -595,14 +595,12 @@ void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa, | 36 | @@ -595,14 +595,12 @@ void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa, |
@@ -50,5 +54,5 @@ index 3994ec03f86b..05fd593494ef 100644 | |||
50 | } else if (msg.wfd_subelems) { | 54 | } else if (msg.wfd_subelems) { |
51 | wpabuf_free(dev->info.wfd_subelems); | 55 | wpabuf_free(dev->info.wfd_subelems); |
52 | -- | 56 | -- |
53 | 2.25.1 | 57 | 2.17.1 |
54 | 58 | ||