autofs-5.1.9 - fix uninitialised list in struct master_mapent From: Ian Kent Shouldn't be a problem due access patterns but use of uninitialised memory can cause 'unaligned tcache chunk detected' errors. Signed-off-by: Ian Kent --- CHANGELOG | 1 + daemon/master.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 30c623419..710e92a05 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -37,6 +37,7 @@ - dont call mkdir if dir exists. - check map source in master_parse_entry(). - fix possible memory leak in mnts_get_expire_list(). +- fix uninitialised list in struct master_mapent. 02/11/2023 autofs-5.1.9 - fix kernel mount status notification. diff --git a/daemon/master.c b/daemon/master.c index 4448cf9a9..98eaba051 100644 --- a/daemon/master.c +++ b/daemon/master.c @@ -811,6 +811,7 @@ struct master_mapent *master_new_mapent(struct master *master, const char *path, fatal(status); INIT_LIST_HEAD(&entry->list); + INIT_LIST_HEAD(&entry->join); return entry; }