mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
make deserialization more exception-safe
This commit is contained in:
parent
e7ccbd871a
commit
0faab29ad5
@ -199,8 +199,8 @@ public:
|
||||
|
||||
cur_data.checkAndUpdateSize(temp_size, arena);
|
||||
|
||||
buf.readStrict(cur_data.data, temp_size);
|
||||
cur_data.data_size = temp_size;
|
||||
buf.readStrict(cur_data.data, cur_data.data_size);
|
||||
|
||||
if constexpr (has_limit)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user