summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/string.cpp
diff options
context:
space:
mode:
authorbabenko <[email protected]>2026-04-23 00:20:04 +0300
committerbabenko <[email protected]>2026-04-23 00:51:54 +0300
commit93afa8fcecbbc0ad72652a578f9c02f1130360ba (patch)
treeab4c49ca7380c412a033dbf1469a52e92870eaf8 /library/cpp/yt/string/string.cpp
parentfa32173319cb74794b51770bd785bfcd2603ac17 (diff)
Fix always-false condition in IPv6 address bracket validation
Inside the `closingBracketIndex != npos` branch, the redundant `closingBracketIndex == npos` sub-check was always false, so addresses like `]addr` with a closing bracket but no opening one were silently accepted instead of being rejected as malformed. commit_hash:29deca6532f8b89f593267ee7349cc87df8390d4
Diffstat (limited to 'library/cpp/yt/string/string.cpp')
0 files changed, 0 insertions, 0 deletions