Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
4.0.11, 4.1.3, 5.0-alpha1, 5.0
-
None
-
Quality Assurance
-
Low Hanging Fruit
-
All
-
None
-
Description
When deserializing a row, we have a limit on amount of data we can read per cell. If an sstable is corrupted in a certain way, it may read many cells with extreme length leading to oom errors. When we read a row, it has a row size in the beginning. The idea is to limit the read size for a cell to the minimum of the max cell length and the remaining row size.