Files
scylladb/sstables/mx
Michał Chojnowski 42d9e36454 sstables: fix a use-after-free in key_view::explode()
key_view::explode() contains a blatant use-after-free:
unless the input is already linearized, it returns a view to a local temporary buffer.

This is rare, because partition keys are usually not large enough to be fragmented.
But for a sufficiently large key, this bug causes a corrupted partition_key down
the line.

Fixes #17625

(cherry picked from commit 7a7b8972e5)

Closes scylladb/scylladb#17717
2024-03-11 12:05:55 +02:00
..
2023-07-10 19:36:06 +02:00
2023-06-06 13:29:16 +03:00
2023-06-06 13:29:16 +03:00