summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-04 00:55:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-04 00:55:21 -0300
commit9b01f5954afbfa61169a7afd2c3d329e7a2882de (patch)
tree1e6757182708f0af7da7cbf411f8b56fb49b39fe
parent4b6225586c879451dc0171278c8bf2a82493dc46 (diff)
solve invalid pointer, fixes #1793
-rw-r--r--core/io/resource_format_xml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index 4771c31de2..9de33e7ef3 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -309,6 +309,7 @@ Error ResourceInteractiveLoaderXML::_parse_array_element(Vector<char> &buff,bool
buff_max++;
buff.resize(buff_max);
+ buffptr=buff.ptr();
}