Skip to content

Commit f85ae9d

Browse files
committed
tests/runner: always zero the io_space array
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
1 parent df40a9d commit f85ae9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/runner/interface_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static uint8_t *io_space;
4242
uacpi_status uacpi_kernel_initialize(uacpi_init_level lvl)
4343
{
4444
if (lvl == UACPI_INIT_LEVEL_EARLY)
45-
io_space = new uint8_t[UINT16_MAX + 1];
45+
io_space = new uint8_t[UINT16_MAX + 1]{};
4646
return UACPI_STATUS_OK;
4747
}
4848

0 commit comments

Comments
 (0)