]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
handle zero terminated strings better in UTF8 checks.
authorAlan T. DeKok <aland@freeradius.org>
Sun, 28 Sep 2025 13:42:44 +0000 (09:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Oct 2025 21:07:59 +0000 (17:07 -0400)
commitce0faf3eb010bfe564af2892c280d3eb63b0bf8b
tree0f4a087bc81dfbbebe2a742e4d6f5e86b80bddae
parent22e1b2d50686f7915f6c6541b72999db9dad5323
handle zero terminated strings better in UTF8 checks.

the final zero is not valid UTF8.
Control characters are not valid UTF8.
Limit the allowed UTF8 length to where the trailing zero is located
src/lib/util/print.c