From f503415a3089e2747d859a7c6de4b02ba9ff3571 Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Thu, 27 Jun 2024 23:53:49 +0100 Subject: [PATCH] Fix out-of-bounds array access. --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index 7b6c18f..43b7547 100644 --- a/src/common.c +++ b/src/common.c @@ -35,7 +35,7 @@ static const char *dll_names[] = { NULL }; -static HANDLE dll_handles[] = {NULL, NULL, NULL, NULL, NULL, NULL}; +static HANDLE dll_handles[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL}; /* Convert a windows error number to an error message */ const char *w32_error(DWORD errnum) {