summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-05-19 19:26:21 +0300
committerrobot-piglet <[email protected]>2026-05-19 19:48:14 +0300
commit11649fbcc79499dd4294d0c26e8b08bf70cc9302 (patch)
tree715ec6d97327f2071d60757741c934b48a93f31d /library/cpp
parent5bbc70c75265b1aa8a28069f1d222ad8f0db73d5 (diff)
Intermediate changes
commit_hash:776cd37ba05fd4d206ebf47b2a3bb2323bb32c51
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/html/entity/htmlentity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/html/entity/htmlentity.cpp b/library/cpp/html/entity/htmlentity.cpp
index c3508eac950..a3c49d30ba3 100644
--- a/library/cpp/html/entity/htmlentity.cpp
+++ b/library/cpp/html/entity/htmlentity.cpp
@@ -498,7 +498,7 @@ bool HtLinkDecode(const TStringBuf& in, char* out, size_t buflen, size_t& writte
if (asciiCompl && NotRecoded.NotRecoded(*p)) {
charval = *p;
} else {
- DoSymbol(cp, reinterpret_cast<const unsigned char*>(p), 6, &charval);
+ DoSymbol(cp, reinterpret_cast<const unsigned char*>(p), inpEnd - p, &charval);
if (charval == BROKEN_RUNE)
return false;
}