From 8a561fd1fb1a883178ac3fbbca2dab2d012a8950 Mon Sep 17 00:00:00 2001 From: Guijun Date: Mon, 30 Nov 2015 18:48:07 +0800 Subject: [PATCH] enlarge _memory before it isn't large enough if we are working with custom malloc. --- src/pugixml.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 9f7c3fb..929817e 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -941,7 +941,7 @@ namespace pugi private: char_t* _buffer; - char _memory[192]; + char _memory[192+64]; // Non-copyable semantics xml_document(const xml_document&);