runtime: scriptblock: fix use of uninitialised memory

This commit is contained in:
2026-05-30 20:18:41 +01:00
parent 09f64aaaba
commit ca33228e0e
+2
View File
@@ -169,6 +169,8 @@ static unsigned long scriptblock_get_string(
goto cleanup;
}
memset(cache_entry, 0x0, sizeof *cache_entry);
str = fx_string_create_from_cstr(s);
if (!str) {
goto cleanup;