Skip to content

Add fuzzing asserts to xmlSetTreeDoc()

  • tree.c: (xmlSetTreeDoc):
  • When xmlSetTreeDoc() has to change documents, the calling code probably has a bug, so assert when those conditions are hit. This is a follow-up to commit 4bc3ebf3.

Merge request reports