diff options
Diffstat (limited to 'library/cpp/html/entity/htmlentity.cpp')
| -rw-r--r-- | library/cpp/html/entity/htmlentity.cpp | 2 |
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; } |
