]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- fix sigsegv during daemon deserialization/reexecution auto/th/systemd-206-6
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 16 Aug 2013 15:58:38 +0000 (17:58 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 16 Aug 2013 15:58:38 +0000 (17:58 +0200)
- rel 6

dont-hash-null-keys.patch [new file with mode: 0644]
systemd.spec

diff --git a/dont-hash-null-keys.patch b/dont-hash-null-keys.patch
new file mode 100644 (file)
index 0000000..b50931a
--- /dev/null
@@ -0,0 +1,16 @@
+--- systemd-206/src/shared/hashmap.c~  2013-07-22 00:43:28.172182934 +0200
++++ systemd-206/src/shared/hashmap.c   2013-08-16 17:28:17.374796716 +0200
+@@ -272,9 +272,11 @@
+         assert(h);
+         assert(e);
+-        hash = h->hash_func(e->key) % NBUCKETS;
++      if (e->key) {
++              hash = h->hash_func(e->key) % NBUCKETS;
+-        unlink_entry(h, e, hash);
++              unlink_entry(h, e, hash);
++      }
+         if (h->from_pool)
+                 deallocate_tile(&first_entry_tile, e);
index d372787996bb926ea4e686f74b94aafd253d851f..bdddf1fce437e5454cdf622e36bcc1735aa5d866 100644 (file)
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:       206
-Release:       5
+Release:       6
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
@@ -59,6 +59,7 @@ Patch10:      net-rename-revert.patch
 Patch11:       nss-in-rootlib.patch
 Patch12:       proc-hidepid.patch
 Patch13:       hwdb-dell-keyboard.patch
+Patch14:       dont-hash-null-keys.patch
 URL:           http://www.freedesktop.org/wiki/Software/systemd
 BuildRequires: acl-devel
 BuildRequires: attr-devel
@@ -560,6 +561,7 @@ Wiązania do Systemd dla Pythona.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 cp -p %{SOURCE2} src/systemd_booted.c
 
 %build
This page took 0.166444 seconds and 4 git commands to generate.