1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00

tmpfiles: fix bad memory access

This commit is contained in:
Lennart Poettering 2012-01-22 18:19:24 +01:00
parent 1e5678d023
commit 1733ca5475

View 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 ||