High: crmd: Prevent use-after-free in lrm interface code (Patch based on work by Keisuke MORI)
- An element of pending_ops is removed at lrm.c:497
- It is called inside from g_hash_table_foreach() at lrm.c:1475
- This is violating the usage of g_hash_table_foreach() according to the glib manual.
- Therefore the iteration can not proceed correctly and would try to refer to a removed element.
Mercurial revision: 3d52893bcd8394a81f9e12cb41afb4d6875bc497