diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-23 15:37:37 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-23 15:37:37 -0200 |
commit | b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9 (patch) | |
tree | fb6fcd42bf1a8df86f9c5e35010d143bd542f2d4 /pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch | |
parent | 845f51778cf9597d9625459c2f274b40ddeab1fc (diff) | |
download | abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.tar.gz abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.tar.bz2 abslibre-b19aa2f64b1d83caef5baef1c21c3303b5cbd6f9.zip |
add systemd-knock package
Diffstat (limited to 'pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch')
-rw-r--r-- | pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch b/pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch new file mode 100644 index 000000000..fc8f16a79 --- /dev/null +++ b/pcr/systemd-knock/0001-sd-bus-properly-handle-removals-of-non-existing-matc.patch @@ -0,0 +1,25 @@ +From ef7b6c0190fefaacf6d8f8e1a6dda4ba8b98091b Mon Sep 17 00:00:00 2001 +From: Lennart Poettering <lennart@poettering.net> +Date: Wed, 29 Oct 2014 17:58:43 +0100 +Subject: [PATCH] sd-bus: properly handle removals of non-existing matches + +--- + src/libsystemd/sd-bus/bus-match.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c +index 18afe0f..5658c61 100644 +--- a/src/libsystemd/sd-bus/bus-match.c ++++ b/src/libsystemd/sd-bus/bus-match.c +@@ -537,7 +537,7 @@ static int bus_match_find_compare_value( + else if (BUS_MATCH_CAN_HASH(t)) + n = hashmap_get(c->compare.children, value_str); + else { +- for (n = c->child; !value_node_same(n, t, value_u8, value_str); n = n->next) ++ for (n = c->child; n && !value_node_same(n, t, value_u8, value_str); n = n->next) + ; + } + +-- +2.1.3 + |