Pointer post-assertion
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index a7c2b1c..5ce806a 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -965,6 +965,7 @@
         XMLNode* node = 0;

 

         p = _document->Identify( p, &node );

+        TIXMLASSERT( p );

         if ( node == 0 ) {

             break;

         }