ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
b9a53a
From 7e9944795e3f0046857379a5f878b365597ed373 Mon Sep 17 00:00:00 2001
4b8c80
From: Lennart Poettering <lennart@poettering.net>
4b8c80
Date: Thu, 17 Jan 2019 18:18:18 +0100
4b8c80
Subject: [PATCH] sd-bus: drop two inappropriate empty lines
4b8c80
4b8c80
(cherry picked from commit 39feb2ce417e54cf9746e64b5dfd610cef6ac440)
4b8c80
Related: CVE-2020-1712
4b8c80
---
4b8c80
 src/libsystemd/sd-bus/sd-bus.c | 2 --
4b8c80
 1 file changed, 2 deletions(-)
4b8c80
4b8c80
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c
4b8c80
index 55b008cc9f..01060d105c 100644
4b8c80
--- a/src/libsystemd/sd-bus/sd-bus.c
4b8c80
+++ b/src/libsystemd/sd-bus/sd-bus.c
4b8c80
@@ -2634,7 +2634,6 @@ static int process_builtin(sd_bus *bus, sd_bus_message *m) {
4b8c80
                                 SD_BUS_ERROR_UNKNOWN_METHOD,
4b8c80
                                  "Unknown method '%s' on interface '%s'.", m->member, m->interface);
4b8c80
         }
4b8c80
-
4b8c80
         if (r < 0)
4b8c80
                 return r;
4b8c80
 
4b8c80
@@ -2758,7 +2757,6 @@ static int process_running(sd_bus *bus, bool hint_priority, int64_t priority, sd
4b8c80
                         return r;
4b8c80
 
4b8c80
                 *ret = TAKE_PTR(m);
4b8c80
-
4b8c80
                 return 1;
4b8c80
         }
4b8c80