tree-sitter/test/runtime
Max Brunsfeld 0143bfdad4 Avoid use-after-free of external token states
Previously, it was possible for references to external token states to
outlive the trees to which those states belonged.

Now, instead of storing references to external token states in the Stack
and in the Lexer, we store references to the external token trees
themselves, and we retain the trees to prevent use-after-free.
2017-06-27 14:54:27 -07:00
..
document_test.cc Merge pull request #77 from philipturnbull/scan-build-fixes 2017-06-20 10:15:20 -07:00
node_test.cc Rename spec -> test 2017-03-09 20:40:01 -08:00
parser_test.cc Fix OOB reads at ends of chunks 2017-06-23 12:09:16 -07:00
stack_test.cc Avoid use-after-free of external token states 2017-06-27 14:54:27 -07:00
tree_test.cc Avoid use-after-free of external token states 2017-06-27 14:54:27 -07:00