string: Check UTF-8 string pointer and length
commit0e3fd4df9990b240cab3754a7c3e809d081b56d9
authorteor <teor@torproject.org>
Tue, 7 Jan 2020 07:09:25 +0000 (7 17:09 +1000)
committerNick Mathewson <nickm@torproject.org>
Tue, 7 Jan 2020 15:16:08 +0000 (7 10:16 -0500)
treee45c51407cb70f70c1396ace5cbb5b862b964495
parentd62dbb676242dbdfdd121828c97e12e737aa596c
string: Check UTF-8 string pointer and length

If they are inconsistent, output a raw bug log.

Part of 32845.
src/lib/string/util_string.c