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.
Description
Languages
C++
48.8%
C
17.9%
Makefile
12.2%
Rust
9.5%
JavaScript
9.3%
Other
2.3%