Skip to content

Commit cb54655

Browse files
committed
fixed: non-zero buffer issues
1 parent 532b974 commit cb54655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/cli/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ static int32_t output_file_to_disk(CLIArgs *cli_args, onyx_context_t *ctx, const
676676
}
677677

678678
static int32_t output_files_to_disk(CLIArgs *cli_args, onyx_context_t *ctx, const char *filename) {
679-
char filenameTmp[1024];
679+
char filenameTmp[1024] = { 0 };
680680

681681
if (!output_file_to_disk(cli_args, ctx, filename, ONYX_OUTPUT_TYPE_WASM)) return 0;
682682

0 commit comments

Comments
 (0)