=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Fix stack buffer overrun in wined3d_debug_resource_access().
Alexandre Julliard
julliard at winehq.org
Wed Feb 21 18:39:41 CST 2018
Module: wine
Branch: master
Commit: e1d4edab4e09d84b079df8daa19c2eae5203a578
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e1d4edab4e09d84b079df8daa19c2eae5203a578
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Tue Feb 20 23:59:38 2018 +0100
wined3d: Fix stack buffer overrun in wined3d_debug_resource_access().
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 10cfa25..4e1da1c 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[125];
buf[0] = '\0';
#define ACCESS_TO_STR(x) if (access & x) { strcat(buf, " | "#x); access &= ~x; }
More information about the wine-cvs
mailing list