799437355d
- Add upstream patch 0001-systemd-tmpfiles-Fix-IGNORE_DIRECTORY_PATH-age-handl.patch for bsc#893797 - Drop renaming virtual interfaces in a guest (bnc#898432). Add 1088-drop-renaming-of-virtual-interfaces-in-guest.patch - Rename patch 0001-infinit-timeout-for-kmod-loaded-modules.patch to patch 1087-infinit-timeout-for-kmod-loaded-modules.patch and apply this one - Change patch 0003-mount-order-options-before-other-arguments-to-mount.patch to fix bsc#898240 - Add upstream patches 0001-Fix-warning-about-unused-variable-with-SELINUX.patch 0002-bus-remove-unused-check.patch - Add patch 0001-infinit-timeout-for-kmod-loaded-modules.patch to be able to avoid killing a running kmod/modprobe (bnc#889297) - Update patch 0001-bnc888612-logind-polkit-acpi.patch - Add upstream patches 0001-login-pause-devices-before-acknowledging-VT-switches.patch May help that history of the shell is saved 0001-nspawn-don-t-try-to-create-veth-link-with-too-long-i.patch 0001-socket-introduce-SELinuxContextFromNet-option.patch (bsc#897801) 0002-util-avoid-non-portable-__WORDSIZE.patch OBS-URL: https://build.opensuse.org/request/show/252537 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=208
30 lines
948 B
Diff
30 lines
948 B
Diff
From 04c553e322680b6fcdf5b271e84b0b4b0ad8d5f9 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
|
|
Date: Tue, 23 Sep 2014 21:34:21 +0200
|
|
Subject: [PATCH] bus: remove unused check
|
|
|
|
strerror_r does not return null here and even if it did we would have
|
|
problems already at the preceding strlen call.
|
|
|
|
Found by coverity. Fixes: CID#1237770
|
|
---
|
|
src/libsystemd/sd-bus/bus-error.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git src/libsystemd/sd-bus/bus-error.c src/libsystemd/sd-bus/bus-error.c
|
|
index c2e41fb..abdfd73 100644
|
|
--- src/libsystemd/sd-bus/bus-error.c
|
|
+++ src/libsystemd/sd-bus/bus-error.c
|
|
@@ -312,7 +312,7 @@ static void bus_error_strerror(sd_bus_error *e, int error) {
|
|
continue;
|
|
}
|
|
|
|
- if (!x || errno) {
|
|
+ if (errno) {
|
|
free(m);
|
|
return;
|
|
}
|
|
--
|
|
1.7.9.2
|
|
|