Author: tfaber
Date: Sun Feb 19 12:21:06 2017
New Revision: 73841

URL: http://svn.reactos.org/svn/reactos?rev=73841&view=rev
Log:
[WSHTCPIP]
- Fix incorrect sizeof in SHIoctl_GetInterfaceList. CID 1401188

Modified:
    trunk/reactos/dll/win32/wshtcpip/iflist.c

Modified: trunk/reactos/dll/win32/wshtcpip/iflist.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wshtcpip/iflist.c?rev=73841&r1=73840&r2=73841&view=diff
==============================================================================
--- trunk/reactos/dll/win32/wshtcpip/iflist.c   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wshtcpip/iflist.c   [iso-8859-1] Sun Feb 19 
12:21:06 2017
@@ -236,7 +236,7 @@
     INT res = -1;
 
     /* Init Interface-ID-List */
-    IntfIDList = HeapAlloc(hHeap,0,sizeof(IntfIDList));
+    IntfIDList = HeapAlloc(hHeap, 0, sizeof(*IntfIDList));
     list_init(&IntfIDList->entry);
 
     /* open tcp-driver */


Reply via email to