tree-sitter-html/src
Phil Turnbull 5877d9a30d
Prevent out-of-bounds read when deserializing
We first serialize the total number of tags, then serialize each individual
tag. If we don't have enough space to serialize a particular tag we stop
serializing any remaining tags.

However, this causes an out-of-bounds read when deserializing because there are
less tags than expected. Just bail when there are too many tags to serialize.
2018-08-07 14:40:33 -04:00
..
tree_sitter ⬆️ tree-sitter-cli (new ABI version) 2018-07-18 11:24:49 -07:00
binding.cc Initial commit 2018-06-11 16:59:22 -07:00
grammar.json Parse tag names as separate tokens 2018-06-12 12:20:13 -07:00
parser.c ⬆️ tree-sitter-cli (new ABI version) 2018-07-18 11:24:49 -07:00
scanner.cc Prevent out-of-bounds read when deserializing 2018-08-07 14:40:33 -04:00
tag.h Represent tag name map as a std::map 2018-06-18 10:05:44 -07:00