Serge Gautherie
f540b2b20c
[IPHLPAPI] GetAdaptersAddresses(): Add 1 free() in ERROR_NO_DATA case ( #2526 )
...
And fix 4 comments.
Follow-up to 68d94581
.
2020-04-15 13:05:54 +02:00
Jérôme Gardou
68d94581ad
[IPHLPAPI] Do not use free() on buffer allocated with HeapAlloc
2020-04-10 12:06:53 +02:00
Victor Perevertkin
042646ceac
[IPHLPAPI] Use if_descrlen field for determining the length of
...
if_descr in IFEntry structure. This fixes heap corruption on GCC8.
CORE-16088
2019-07-05 22:49:12 +03:00
Timo Kreuzer
f9a967b2ae
[REACTOS] Fix misc 64 bit issues
2019-04-13 14:07:50 +02:00
Pierre Schweitzer
22cb300805
[IPHLPAPI] Properly handle GetModuleBaseName failure
...
CID 1442662, 1442663
2019-02-16 09:05:15 +01:00
Pierre Schweitzer
93b0957641
[IPHLPAPI] Check pointers when returning module info from specific connection
2019-02-16 09:00:06 +01:00
Pierre Schweitzer
aa55bb1bd3
[IPHLPAPI] Add support for service tags in GetOwnerModuleFromTcp/UdpEntry
...
If a service tag is set in owner information, then, we'll query advapi32 and
thus services to get the service name instead of the image name
2018-12-31 11:19:36 +01:00
Pierre Schweitzer
81aa879c13
[IPHLPAPI] Implement GetOwnerModuleFromUdpEntry()
2018-12-01 14:49:38 +01:00
Pierre Schweitzer
226195d4f2
[IPHLPAPI] Don't assume first member of MIB tables is always DWORD-big
...
This fixes last bits of heap corruption when using UDP/TCP enumeration
functions.
2018-11-30 20:06:29 +01:00
Pierre Schweitzer
bf052e120b
[IPHLPAPI] Reduce code duplication and use a single function for TCP and UDP enumerations
...
Furthermore, memory was improperly allocated before (alignment issues) leading to heap
corruption under certain circumstances
2018-11-30 20:06:29 +01:00
Pierre Schweitzer
3d2d957f81
[IPHLPAPI] Implement GetOwnerModuleFromTcpEntry()
...
CORE-4792
2018-11-29 20:36:08 +01:00
Pierre Schweitzer
f87c88f6fe
[IPHLPAPI] Implement the *_TABLE_OWNER_MODULE_* in GetExtendedTcp/UdpTable() functions
...
This fixes CurrPorts in ReactOS. It now properly displays current connections along
with their creation time.
CORE-10134
2018-11-27 23:12:57 +01:00
Pierre Schweitzer
7ce2f09a70
[SDK] Add AllocateAndGetTcp/UdpEx/2TableFromStack() functions family
2018-11-27 21:36:47 +01:00
Pierre Schweitzer
26415375e3
[IPHLPAPI] Implement AllocateAndGetUdpExTable2FromStack()
...
CORE-14391
2018-11-25 13:32:52 +01:00
Pierre Schweitzer
0bca12e01f
[IPHLPAPI] Implement AllocateAndGetTcpExTable2FromStack()
...
CORE-14391
2018-11-25 13:29:26 +01:00
Pierre Schweitzer
291a58951f
[IPHLPAPI] Implement AllocateAndGetUdpExTableFromStack()
2018-11-25 12:23:27 +01:00
Pierre Schweitzer
58799a0ceb
[IPHLPAPI] Implement AllocateAndGetTcpExTableFromStack()
2018-11-25 12:19:44 +01:00
Pierre Schweitzer
370b03b523
[IPHLPAPI] Reimplement GetUdpTable() using GetExtendedUdpTable()
2018-11-24 21:41:10 +01:00
Pierre Schweitzer
58cef01422
[IPHLPAPI] Implement GetExtendedUdpTable()
...
We only support IPv4 and UDP_TABLE_BASIC, UDP_TABLE_OWNER_PID
for now
CORE-5126
2018-11-24 21:41:10 +01:00
Pierre Schweitzer
73c87d5c14
[IPHLPAPI] Reimplement GetTcpTable() using GetExtendedTcpTable()
2018-11-24 21:41:09 +01:00
Pierre Schweitzer
d76ac645e8
[IPHLPAPI] Don't leak memory
2018-11-24 21:41:09 +01:00
Pierre Schweitzer
c949a12506
[IPHLPAPI] Implement the IPv4 TCP_TABLE_OWNER_PID_* cases in GetExtendedTcpTable()
2018-11-24 21:41:09 +01:00
Pierre Schweitzer
702d44c683
[IPHLPAPI] Implement the IPv4 TCP_TABLE_BASIC_* cases in GetExtendedTcpTable()
2018-11-24 21:41:08 +01:00
Stanislav Motylkov
63ad8a71c0
[IPHLPAPI] Fix IcmpSendEcho output when host is not reachable
...
- Add missing error code to DDK/NDIS
- Fix error code in IP driver
- Patch MSAFD to reply correct WSA error code
- Fix IcmpSendEcho function
- Fix returning error code in ICMP_ECHO_REPLY (see MSDN)
- Fix returning host address (using GetBestInterface and GetIpAddrTable functions)
- Fix GetBestRoute function (it is used by GetBestInterface)
Relates to #318 and CORE-14241
2018-01-31 17:28:21 +00:00
Stanislav Motylkov
a2cc76af84
[IPHLPAPI] Implement interface name resolving functions
...
Including:
- NhGetInterfaceNameFromDeviceGuid
- NhGetInterfaceNameFromGuid
CORE-13831, CORE-14033
Reference:
https://github.com/boundary/wireshark/blob/master/capture_win_ifnames.c#L275
2017-12-03 21:08:31 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00