balabit/syslog-ng — pull request #101 by algernon (2014-03-03 14:14:46+00:00)
Title: value-pairs: Get rid of magic casting that breaks strict aliasing

We used to cast custom pointers to GTrashStack**, which broke strict
aliasing in certain scenarios, leading to pretty much unpredictable
behaviour. That behaviour manifested itself in a live-lock. With this
patch, the intent does not change, but strict aliasing is not broken
either.

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy