utf8: don't allow NUL in decoded strings.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Dec 2020 00:35:48 +0000 (11:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Dec 2020 00:35:48 +0000 (11:05 +1030)
commit56d5c41fa3f3148b6afb4706fa80fead0e232eb2
tree381b63f1ef755df277e91c1c08c4d28c3db5bfb9
parentb45a3266352be0da51c532c8dc462e67e5830877
utf8: don't allow NUL in decoded strings.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/utf8/test/run-decode.c
ccan/utf8/utf8.c
ccan/utf8/utf8.h