From: Lennart Poettering Date: Sun, 22 Jan 2012 17:19:24 +0000 (+0100) Subject: tmpfiles: fix bad memory access X-Git-Tag: v39~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1733ca5475786c31031626a68804b26019426ad8;p=systemd tmpfiles: fix bad memory access --- diff --git a/src/tmpfiles.c b/src/tmpfiles.c index f3c38a84..8cbce12d 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -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 ||