Commit e1d4edab authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Fix stack buffer overrun in wined3d_debug_resource_access().

parent 27ef844b
......@@ -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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment