HomeClusterLabs Projects
Diffusion LibQB 5862acbaef85

blackbox: fix potential overlow/memory corruption (#486)

Description

blackbox: fix potential overlow/memory corruption (#486)

if the message was too long, then msg_len was added to the
buffer size twice, thus causing potential data corruption
(seen VERY rarely in the CI test - or, at least, I think it was
this).

Also fix a double close() spotted by gcc13's -fanalyzer

Details

Provenance
chrissie-cAuthored on Jun 5 2023, 4:51 AM
GitHub <noreply@github.com>Committed on Jun 5 2023, 4:51 AM
Parents
rQa3aedbc41923: tests: allow -j to work (#485)
Branches
Unknown
Tags
Unknown