HomeClusterLabs Projects
Diffusion LibQB 302b564834fe

ipc: Always initialize response struct

Description

ipc: Always initialize response struct

Response structure was not initialized completely,
when mkdtemp/chown failed, server was not accepting connection yet or
connect failed for some reason.

This is not an issue, but valgrind reports this
as a problem so it is easy to miss real problem then.

Solution is to initialize response before it is used.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
jfriesseAuthored on Nov 7 2019, 9:57 AM
chrissie-cCommitted on Nov 8 2019, 3:54 AM
Parents
rQ16abeeb920a9: [build] add --with-sanitizers= option for sanitizer builds (#366)
Branches
Unknown
Tags
Unknown

Event Timeline