summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/serialize.cpp
diff options
context:
space:
mode:
authorswarmer <[email protected]>2025-10-22 00:40:56 +0300
committerswarmer <[email protected]>2025-10-22 01:00:33 +0300
commit30ad3d5b967bb270c8f5a1dcdeb205b23808b4cf (patch)
treead589ee9f8bc8e54411a8e1d5917bfaf2bf59fa3 /yt/cpp/mapreduce/interface/serialize.cpp
parent63b90b2797099da1bf2768b3f897565fb855f75a (diff)
StringSplitter: splitting an empty string should always produce exactly one token
Previously, the split operation would produce incorrect results if the bound of the user-provided string overlaps with the address of a default-constructed string. Introduce a sentinel value to ensure that such overlap are no longer possible. Use additional boolean flag to check for the similar problem in the iterator-based version of algorithm. commit_hash:6590787dc4c0319375efa3630a7146e31eed5e89
Diffstat (limited to 'yt/cpp/mapreduce/interface/serialize.cpp')
0 files changed, 0 insertions, 0 deletions