HomeClusterLabs Projects

Initialize stack allocated memory

Description

Initialize stack allocated memory

Some functions allocated memory on stack without clearing memory and
then send them on wire. This is not an issue, but valgrind reports this
as a problem so it is easy to miss real problem then.

Solution is to clear stack memory.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Oct 10 2019, 6:33 AM
Parents
rC721c5d4b5b8b: man: Fix corosync.conf knet pong count default
Branches
Unknown
Tags
Unknown

Event Timeline