layers: Fix buffer overrun in memtracker
authorMark Lobodzinski <mark@lunarg.com>
Fri, 20 Feb 2015 22:38:40 +0000 (16:38 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 24 Feb 2015 16:22:53 +0000 (10:22 -0600)
Long function name+64-bit pointer caused buffer overrun in rendersystemtest

layers/mem_tracker.h

index 50ebd47..5e26147 100644 (file)
@@ -123,7 +123,7 @@ typedef struct _GLOBAL_OBJECT_NODE {
         XGL_WSI_X11_PRESENTABLE_IMAGE_CREATE_INFO wsi_x11_presentable_image_create_info;
 #endif // _WIN32
     } create_info;
-    char object_name[32];
+    char object_name[64];
 } GLOBAL_OBJECT_NODE;
 
 /*