HomeClusterLabs Projects

[links] fix memory corryption of link structure

Description

[links] fix memory corryption of link structure

the index would overflow the buffer and overwrite data in the link
structure. Depending on what was written the cluster could fall
apart in many ways, from crashing, to hung.

Fixes: https://github.com/kronosnet/kronosnet/issues/255

thanks to the proxmox developers and community for reporting the issue
and for all the help reproducing / debugging the problem.

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

Details

Provenance
fabbioneAuthored on Sep 19 2019, 3:02 AM
Parents
rK63d5a3eb52e1: Merge pull request #254 from kronosnet/test-fixes
Branches
Unknown
Tags
Unknown

Event Timeline