From 817509a87c3c0af362df576574784bae0dae8129 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 26 Oct 2026 11:38:29 +0100 Subject: [PATCH] removed infinite loop in unicode_script() (Kayyo321) --- libunicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libunicode.c b/libunicode.c index f3f75cc..70475f5 100644 --- a/libunicode.c +++ b/libunicode.c @@ -1397,7 +1397,7 @@ int unicode_script(CharRange *cr, cr_free(cr1); cr_free(cr2); } - goto fail; + return -1; } #define M(id) (1U << UNICODE_GC_ ## id) -- 2.47.3