Author: tkreuzer
Date: Mon Apr 21 14:12:06 2014
New Revision: 62854
URL:
http://svn.reactos.org/svn/reactos?rev=62854&view=rev
Log:
[NTDDRAW]
Fix buffer overflow
Modified:
trunk/reactos/win32ss/reactx/ntddraw/ddraw.c
Modified: trunk/reactos/win32ss/reactx/ntddraw/ddraw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/reactx/ntddraw/ddr…
==============================================================================
--- trunk/reactos/win32ss/reactx/ntddraw/ddraw.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/reactx/ntddraw/ddraw.c [iso-8859-1] Mon Apr 21 14:12:06 2014
@@ -20,7 +20,7 @@
extern EDD_DIRECTDRAW_GLOBAL edd_DdirectDraw_Global;
-DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl];
+DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl + 1];
HANDLE ghDxGraphics = NULL;
ULONG gdwDirectDrawContext = 0;