commit | 4fee52683b218459e8c89e9ee578aea0b5e0da74 | [log] [tgz] |
---|---|---|
author | Robert Shearman <rob@codeweavers.com> | Mon Jun 13 10:01:20 2005 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Jun 13 10:01:20 2005 +0000 |
tree | 607c58f0b07a869a24399760f939021efeae78b8 | |
parent | 7bb1757e7578a803e8bdbee0ae41a54a8e690db0 [diff] [blame] |
Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as needed.
diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c index e015dae..c608cd1 100644 --- a/dlls/iphlpapi/ifenum.c +++ b/dlls/iphlpapi/ifenum.c
@@ -932,7 +932,7 @@ iAddr.s_addr = addr; /* extra-anal, just to make auditors happy */ - lstrcpynA(string, inet_ntoa(iAddr), sizeof(string)); + lstrcpynA(string, inet_ntoa(iAddr), 16); } return string; }