diff options
author | hor911 <hor911@ydb.tech> | 2023-05-02 11:36:43 +0300 |
---|---|---|
committer | hor911 <hor911@ydb.tech> | 2023-05-02 11:36:43 +0300 |
commit | b654d995830b11f09b4ba6dcd3c815add8a50093 (patch) | |
tree | b1c00ae76a701876cae852273dde09d536a7e660 | |
parent | 4e22469500c863f8904cda138a2406e1c47a5aa5 (diff) | |
download | ydb-b654d995830b11f09b4ba6dcd3c815add8a50093.tar.gz |
Fix use after free
-rw-r--r-- | ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp b/ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp index 798a50b6de..ca2eaa346c 100644 --- a/ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp +++ b/ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp @@ -2679,8 +2679,8 @@ private: if (it == RetryStuffForFile.end()) { return; } - RetryStuffForFile.erase(it); auto size = it->second->SizeLimit; + RetryStuffForFile.erase(it); if (DownloadSize < size) { DownloadSize = 0; } else { |