Prevent huge stack allocations for MIDNAM files

xmlParseMemory() uses a c-pointer char*.
Previously MIDNAM data on the heap were wrapped inside
a std::string only to be later accessed via c_str().
This commit is contained in:
Robin Gareus 2020-04-23 02:25:38 +02:00
parent 3d166c7789
commit 705ac7bfc5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 7 additions and 7 deletions