projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8c1c7
)
[WSHTCPIP]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 19 Feb 2017 12:21:06 +0000
(12:21 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 19 Feb 2017 12:21:06 +0000
(12:21 +0000)
- Fix incorrect sizeof in SHIoctl_GetInterfaceList. CID
1401188
svn path=/trunk/; revision=73841
reactos/dll/win32/wshtcpip/iflist.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/wshtcpip/iflist.c
b/reactos/dll/win32/wshtcpip/iflist.c
index
6dd4b53
..
a3fe651
100644
(file)
--- a/
reactos/dll/win32/wshtcpip/iflist.c
+++ b/
reactos/dll/win32/wshtcpip/iflist.c
@@
-236,7
+236,7
@@
WSHIoctl_GetInterfaceList(
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 */