From: Fabian Maurer dark.shadow4@web.de
Signed-off-by: Fabian Maurer dark.shadow4@web.de --- dlls/urlmon/sec_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/urlmon/sec_mgr.c b/dlls/urlmon/sec_mgr.c index e6d1864b1e7..0d81e4dfda9 100644 --- a/dlls/urlmon/sec_mgr.c +++ b/dlls/urlmon/sec_mgr.c @@ -1276,7 +1276,7 @@ static LPDWORD build_zonemap_from_reg(void) if (used == allocated) { LPDWORD new_data;
- new_data = realloc(data, allocated * sizeof(DWORD)); + new_data = realloc(data, allocated * 2 * sizeof(DWORD)); if (!new_data) goto cleanup; memset(new_data + allocated, 0, allocated * sizeof(DWORD));