commit | 6fc38ec7cc31b12778d1380062ee01b55c68dfb2 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Thu Sep 01 17:59:44 2016 +0300 |
committer | Dmitry-Me <wipedout@yandex.ru> | Thu Sep 01 17:59:44 2016 +0300 |
tree | efcef76faf37c963ee74909badd5b221e43b343f | |
parent | 4fe8c102dae688b80e6649949b9c485eda2c06f8 [diff] [blame] |
Pointer assertions for substring
diff --git a/tinyxml2.h b/tinyxml2.h index 332e124..6468e16 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -139,6 +139,8 @@ ~StrPair(); void Set( char* start, char* end, int flags ) { + TIXMLASSERT( start ); + TIXMLASSERT( end ); Reset(); _start = start; _end = end;