Attempt to catch reads from a buffer that is relocated
commit9afea93ed536fb9110ac62b413604cf4c4302199
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 13:54:00 +0000 (23 16:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 13:54:00 +0000 (23 16:54 +0300)
tree1730d866aa1b10e47e163596a97f69fba907c8f0
parentb8e8e1528829516ccce5ce0be8b97cdce0a86999
Attempt to catch reads from a buffer that is relocated

* src/xml.c (parse_region): Add assertion to ensure buffer text is
not relocated while libxml2 is reading it.  (Bug#24764)
src/xml.c