Details
Description
On Debian Jessie (libc6 2.19, libstdc++ 4.9.2) and newer, sanityTest.pl fails its tests of XMLString::collapseWS.
Tracing with GDB shows that XMLString::moveChars is corrupting the string. I think this is likely due to memcpy being used on overlapping memory regions.
Replacing the memcpy in moveChars with memmove fixes the issue on my systems.
Attachments
Attachments
Issue Links
- is duplicated by
-
XERCESC-2051 Overlapping memcpy call
- Resolved