Closed tsaubergine closed 9 months ago
Thanks to Ian Mitchell:
dccl::int32 dccl::Codec::id(CharIterator begin, CharIterator end)
will read past the end iterator if std::distance(begin, end) is less than the id codec size (e.g. passing 1-byte for a 2-byte codec).
std::distance(begin, end)
Thanks to Ian Mitchell:
will read past the end iterator if
std::distance(begin, end)
is less than the id codec size (e.g. passing 1-byte for a 2-byte codec).