commit | d946ddadc27cef72116237148f88593da57c894a | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Thu Apr 05 09:11:08 2018 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Thu Apr 05 09:11:08 2018 -0700 |
tree | 3c174dadaed1cb389967266ff9c26302eaa46022 | |
parent | 65b5366a02dd0982f93821d43846fa6a9f8ae9b1 [diff] [blame] |
upgrade to vs2017. fix stack overflow attack.
diff --git a/xmltest.cpp b/xmltest.cpp index 99ebc24..f6e83b5 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -2026,6 +2026,13 @@ } { + // Bad bad crash. + XMLDocument doc; + doc.LoadFile("./resources/xmltest-5330.xml"); + XMLTest("Stack overflow prevented.", XMLError::XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID()); + } + + { // Crashing reported via email. const char* xml = "<playlist id='playlist1'>"