diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-10-30 22:05:30 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-10-30 22:05:30 +0100 |
| commit | f38ecc088ce8b8dd4718b636f1f58df74fd4b0e0 (patch) | |
| tree | 26d5150d482ac655956cfdfa28e3e053483b5336 | |
| parent | 233416fe9d61809c7143463da5409ec9b9ae6078 (diff) | |
| download | libbootstr-c-master.tar.gz libbootstr-c-master.zip | |
| -rw-r--r-- | src/puny.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ main(int argc, const char **argv) if (tok) *tok = '\0'; u_in = u8_to_u32(in, inlen + 1, NULL, &u_inlen); + if (!u_in) errx(1, "invalid utf8"); u_out = NULL; if (encode) { |
