From 43364312722eebd853f74642e3af572a67829da9 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Mon, 7 Nov 2016 18:48:50 +0300 Subject: [PATCH] Pointer post-assertion --- tinyxml2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index a7c2b1c..5ce806a 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -965,6 +965,7 @@ char* XMLNode::ParseDeep( char* p, StrPair* parentEnd ) XMLNode* node = 0; p = _document->Identify( p, &node ); + TIXMLASSERT( p ); if ( node == 0 ) { break; }