runtime: scriptblock: fix use of uninitialised memory
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user