]> granicus.if.org Git - php/commit
Fix bug #64938: libxml_disable_entity_loader setting is shared between threads
authorMartin Jansen <martin@divbyzero.net>
Thu, 22 Jan 2015 19:58:15 +0000 (20:58 +0100)
committerStanislav Malyshev <stas@php.net>
Sun, 1 Feb 2015 08:08:35 +0000 (00:08 -0800)
commitde31324c221c1791b26350ba106cc26bad23ace9
treec458fba805801325a2e00c04ed97035ea7816a61
parente5e251b02309d046680e9190cfc688fab4e5670e
Fix bug #64938: libxml_disable_entity_loader setting is shared between threads

The availability of entity loading is stored in a module global which
previously was only initialized in the GINIT constructor. This had the
effect that disabling the entity loader in one request caused
subsequent requests hitting the same Apache child process to  also have
the loader disabled.

With this change the loader is explicitely enabled in the request init
phase.
NEWS
ext/libxml/libxml.c