From 11649fbcc79499dd4294d0c26e8b08bf70cc9302 Mon Sep 17 00:00:00 2001 From: robot-piglet Date: Tue, 19 May 2026 19:26:21 +0300 Subject: Intermediate changes commit_hash:776cd37ba05fd4d206ebf47b2a3bb2323bb32c51 --- library/cpp/html/entity/htmlentity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/cpp/html/entity/htmlentity.cpp') 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(p), 6, &charval); + DoSymbol(cp, reinterpret_cast(p), inpEnd - p, &charval); if (charval == BROKEN_RUNE) return false; } -- cgit v1.3