-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrCore: Increase robustness of
XMLDocument
parser
- Initialize `m_bIgnoreMissingEndTagError` - Pass down `bool fatal` to `ParseFile`. Previously we would still hit assertions for invalid `#includes` with `fatal` set to `false` - Fix potential use of nullptr when `strstr` returns `nullptr` - Introduce a non failing variant of `r_string` called `try_r_string` - Fix various problems with the handling of `#include`, remove not needed string copy and give feedback on invalid things instead of silently ignoring problems. - Fix an infinite loop in tinyxml when parsing an invalid UTF-8 sequence - Fix infinite recursion or cyclic includes causing a stack overflow
- Loading branch information
Showing
4 changed files
with
127 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters