aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcthulhu <cthulhu@ydb.tech>2023-02-07 13:41:03 +0300
committercthulhu <cthulhu@ydb.tech>2023-02-07 13:41:03 +0300
commit5321c3bf793a61c1644a392c9e697e55143cef2f (patch)
tree9b1d57ffa983e172759ec48bbfee2d5ff6380aa5
parentd4fa52ab178a43bfa1abbd220da2dbba048cda69 (diff)
downloadydb-5321c3bf793a61c1644a392c9e697e55143cef2f.tar.gz
Fix buffer overflow in stats collector,
-rw-r--r--ydb/core/mind/bscontroller/storage_stats_calculator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/mind/bscontroller/storage_stats_calculator.cpp b/ydb/core/mind/bscontroller/storage_stats_calculator.cpp
index f39d7885d3..5100a024e9 100644
--- a/ydb/core/mind/bscontroller/storage_stats_calculator.cpp
+++ b/ydb/core/mind/bscontroller/storage_stats_calculator.cpp
@@ -34,7 +34,7 @@ public:
const TBlobStorageController::THostRecordMap& hostRecordMap,
ui32 groupReserveMin,
ui32 groupReservePart)
- : TActorCoroImpl(/* stackSize */ 64 * 1024, /* allowUnhandledPoisonPill */ true, /* allowUnhandledDtor */ true)
+ : TActorCoroImpl(/* stackSize */ 640 * 1024, /* allowUnhandledPoisonPill */ true, /* allowUnhandledDtor */ true) // 640 KiB should be enough for anything!
, SystemViewsState(systemViewsState)
, HostRecordMap(hostRecordMap)
, GroupReserveMin(groupReserveMin)