tmpfiles: use a entry in hashmap as ItemArray in read_config_file()
authorMasahiro Matsuya <mmatsuya@redhat.com>
Wed, 31 Mar 2021 02:44:24 +0000 (11:44 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 May 2021 17:30:46 +0000 (19:30 +0200)
commitdbfb698668578da0b53812c6ee5b4d410b5dc546
tree2145c187efbc5ca2baaf11c379b4efc27cb3975c
parent651e479e29c470663d8862344c0c4239d69a9d26
tmpfiles: use a entry in hashmap as ItemArray in read_config_file()

[zjs: squash commits and use size_t as appropriate.

Bug seems to have been introduced in 811a15877825da9e53f9a2a8603da34589af6bbb.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1944468.]

(cherry picked from commit bec890e3cd6dac249cb12ce9430fdb78b6cf546b)
(cherry picked from commit b266eeb0aee24a0c5868c3a46066c0329b2d1141)
src/tmpfiles/tmpfiles.c