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:
parent
1e5678d023
commit
1733ca5475
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user