]> err.no Git - systemd/commitdiff
tmpfiles: fix bad memory access
authorLennart Poettering <lennart@poettering.net>
Sun, 22 Jan 2012 17:19:24 +0000 (18:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 22 Jan 2012 17:22:26 +0000 (18:22 +0100)
src/tmpfiles.c

index f3c38a84339229c48eb68c61891934c0518283db..8cbce12dcd14e014b80995d6d6605ae309b4c100 100644 (file)
@@ -893,7 +893,7 @@ static bool item_equal(Item *a, Item *b) {
              a->type == TRUNCATE_FILE ||
              a->type == WRITE_FILE ||
              a->type == CREATE_SYMLINK) &&
-            !streq(a->argument, b->argument))
+            !streq_ptr(a->argument, b->argument))
                 return false;
 
         if ((a->type == CREATE_CHAR_DEVICE ||