From: Józef Kucia Subject: [PATCH 1/8] wined3d: Fix stack buffer overrun in wined3d_debug_resource_access(). Message-Id: <20180220225945.26805-1-jkucia@codeweavers.com> Date: Tue, 20 Feb 2018 23:59:38 +0100 Signed-off-by: Józef Kucia --- dlls/wined3d/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 10cfa25a4cdc..e6a6244ff5e8 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -4150,7 +4150,7 @@ const char *debug_d3ddevicetype(enum wined3d_device_type device_type) const char *wined3d_debug_resource_access(DWORD access) { - char buf[91]; + char buf[124]; buf[0] = '\0'; #define ACCESS_TO_STR(x) if (access & x) { strcat(buf, " | "#x); access &= ~x; } -- 2.13.6