gao-yan/pacemaker — comment on commit df705e11a105b67db1c70e7374f3304163177c62
File: pengine/constraints.c line 1121
By beekhof:

Please use getDocPtr() here instead of set->doc directly.
When it comes to libxml2 I'm highly paranoid... things look like they work right up until its scribbling all over your stack.

Maybe also include a small sample of the xml this is parsing as a comment.
Might help those that come later.