libxml - Invalid variables content when NO_EXTERNAL_VARS is defined
Original Reporter info from Mantis: Michal Gawrycki @michalgw
-
Reporter name: Michal Gawrycki
Original Reporter info from Mantis: Michal Gawrycki @michalgw
- Reporter name: Michal Gawrycki
Description:
If NO_EXTERNAL_VARS is defined, variables xmlMalloc, xmlMallocAtomic, xmlRealloc, xmlFree and xmlMemStrdup contain invalid pointers. They point to an external variable in the libxml library but are of the procedural type in 'globals.inc' (pascal side).
See:
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/libxml/src/globals.inc?revision=12678&view=markup#l159
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/libxml/src/xml2.pas?revision=14126&view=markup#l275
I'm not sure how to solve this.
Mantis conversion info:
- Mantis ID: 36244
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43360 (#00e358f1)
- Target version: 3.2.0