From c5a489d7f82535a70488dd4f9e40e79f32a7fb2f Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 4 Oct 2026 17:04:28 +0000 Subject: Fix the crashes found by the fuzzer so far. I really need to think of a better way to store those crash inputs. FossilOrigin-Name: a8b84fbc85ec0b472aca930d2d0af27949b39940317114cc37d37044bf1975d5 --- src/lib/aplwc_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/aplwc_internal.h') diff --git a/src/lib/aplwc_internal.h b/src/lib/aplwc_internal.h index ca7e719..148fd58 100644 --- a/src/lib/aplwc_internal.h +++ b/src/lib/aplwc_internal.h @@ -163,6 +163,7 @@ int valid_ref(struct aplwc_ref *); #define MEMPTRS_EXIT(aplwc) memptrs_remove(aplwc, &memptrs_frame) /* string.c */ +#define INVALID_CHAR UINT32_MAX struct string *chars_to_string(struct aplwc *, const char *, int len); uint32_t string_char(struct string *, size_t); size_t char_length(struct string *, size_t); -- cgit v1.2.3