HomeClusterLabs Projects

Fix: stonithd: potential device list corruption

Description

Fix: stonithd: potential device list corruption

Since 3c6dbbec (Wed May 26 12:08:25 2010), stonith_device_action() would call
free_device() if unable to create an async command. However that would free an
entry's memory in the device list without removing it from the list, causing
potential use-after-free or double-free issues.

Details

Provenance
kgaillotAuthored on Jul 27 2015, 4:45 PM
Parents
rPccdf850018fd: Fix: cib: don't destroy peer cache in peer status callback
Branches
Unknown
Tags
Unknown

Event Timeline