As you can see at https://linux.die.net/man/3/strdup the strdup needs at least _BSD_SOURCE...
GCC 4.9 warns about unknown strdup
Valgrind Complains about Uninitialized Values
This patch fixes the infinite parsing. It makes sure that, when parsing partial content,...
Infinite Loop in XMLDoc_parse_buffer_DOM_text_as_nodes()