Files
scylladb/db/hints
Patryk Jędrzejczak 02618831ef db: hints: add checksum to sync point encoding
sync point API provided with incorrect sync point id might allocate
crazy amount of memory and fail with std::bad_alloc.

To fix this, we can check if the encoded sync point has been modified
before decoding. We can achieve this by calculating a checksum before
encoding, appending it to the encoded sync point, and compering
it with a checksum calculated in db::hints::decode before decoding.
2023-07-17 16:05:07 +02:00
..
2023-04-02 20:13:02 +03:00
2022-06-22 11:47:26 +03:00
2023-06-06 13:29:16 +03:00