HomeClusterLabs Projects

[test] simplify flush log

Description

[test] simplify flush log

allocate on stack only once and make sure strings are null terminated
drop useless read loop since log msg are always smaller than PAGE_SIZE
and read are atomic at that level

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
fabbioneAuthored on Jul 24 2019, 7:46 AM
Parents
rKd20212a47111: [nozzle] avoid tons of possible buffer overruns
Branches
Unknown
Tags
Unknown

Event Timeline