summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-09-04 15:52:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-06 08:15:45 +0100
commit49224db93520a9eb7012d545b717f2858b12fa60 (patch)
tree9adc60b55f10160ffb923991ec19adc198e4223b /meta/recipes-core/systemd/systemd
parent4364a26db198870b12749f04da2ed0f95a105ab0 (diff)
downloadpoky-49224db93520a9eb7012d545b717f2858b12fa60.tar.gz
systemd: Update to the latest 242 branch
Remove patch for issue fixed upstream. (From OE-Core rev: 8f06385bb4a8244ca51daeef0018bfbdd0a93161) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-resolved-Fix-incorrect-use-of-OpenSSL-BUF_MEM.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-resolved-Fix-incorrect-use-of-OpenSSL-BUF_MEM.patch b/meta/recipes-core/systemd/systemd/0001-resolved-Fix-incorrect-use-of-OpenSSL-BUF_MEM.patch
deleted file mode 100644
index f0ae1db60d..0000000000
--- a/meta/recipes-core/systemd/systemd/0001-resolved-Fix-incorrect-use-of-OpenSSL-BUF_MEM.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 18bddeaaf225d5becfc10cd2c6a1d037c90574a2 Mon Sep 17 00:00:00 2001
2From: Tomas Mraz <tmraz@fedoraproject.org>
3Date: Tue, 11 Jun 2019 15:10:21 +0200
4Subject: [PATCH] resolved: Fix incorrect use of OpenSSL BUF_MEM
5
6Fixes: #12763
7Upstream-Status: Backport [Not yet released]
8 https://github.com/systemd/systemd/commit/18bddeaaf225d5becfc10cd2c6a1d037c90574a2
9Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
10---
11 src/resolve/resolved-dnstls-openssl.c | 5 ++++-
12 1 file changed, 4 insertions(+), 1 deletion(-)
13
14diff --git a/src/resolve/resolved-dnstls-openssl.c b/src/resolve/resolved-dnstls-openssl.c
15index f269e4d6487f..5d9223007581 100644
16--- a/src/resolve/resolved-dnstls-openssl.c
17+++ b/src/resolve/resolved-dnstls-openssl.c
18@@ -6,6 +6,7 @@
19
20 #include <openssl/bio.h>
21 #include <openssl/err.h>
22+#include <string.h>
23
24 #include "io-util.h"
25 #include "resolved-dns-stream.h"
26@@ -34,9 +35,11 @@ static int dnstls_flush_write_buffer(DnsStream *stream) {
27 return ss;
28 } else {
29 stream->dnstls_data.write_buffer->length -= ss;
30- stream->dnstls_data.write_buffer->data += ss;
31
32 if (stream->dnstls_data.write_buffer->length > 0) {
33+ memmove(stream->dnstls_data.write_buffer->data,
34+ stream->dnstls_data.write_buffer->data + ss,
35+ stream->dnstls_data.write_buffer->length);
36 stream->dnstls_events |= EPOLLOUT;
37 return -EAGAIN;
38 }
39--
402.17.1
41