Since foo//bar//baz adds two nodes for each //, we need to increment the depth by 2 on each iteration to limit the AST correctly. Fixes the stack overflow found by cluster-fuzz (I suspect the issue there is a bit deeper, but this part is definitely a bug and as such I'd rather wait for the next test case for now). |
||
|---|---|---|
| .. | ||
| pugiconfig.hpp | ||
| pugixml.cpp | ||
| pugixml.hpp | ||