From 0515fa9d273d0a724585a9b1c6875e8c057251ca Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Wed, 9 Dec 2015 11:54:06 +0300 Subject: [PATCH] Assertion in StrPair::SetStr() --- tinyxml2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index ea8088c..510fc82 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -177,6 +177,7 @@ void StrPair::Reset() void StrPair::SetStr( const char* str, int flags ) { + TIXMLASSERT( str ); Reset(); size_t len = strlen( str ); TIXMLASSERT( _start == 0 );