HomeClusterLabs Projects

Fix: libcrmcommon: Set extra_headers to NULL after freeing it.

Description

Fix: libcrmcommon: Set extra_headers to NULL after freeing it.

In daemonize mode, it's possible for crm_mon to want to append to this
list after it's been freed. However, because it hasn't been set to NULL
as well, g_slist_append doesn't know what to do with it and the result
is a segfault.

Details

Provenance
clumensAuthored on Feb 9 2021, 3:13 PM
Parents
rP58aa20cd6557: Low: tools: Mark a couple things as volatile in crm_mon.
Branches
Unknown
Tags
Unknown

Event Timeline