Efe Itietie
0e75fc9240
[NETSTAT] Fix coverity #1477187 "Double free" ( #4069 )
...
Within the current ShowTcpTable function logic, tcpTable would be freed twice.
The bug was introduced in b695971c
.
Remove the second tcpTable free and fix coverity #1477187 . CORE-17831
2021-10-28 17:26:09 +03:00
Serge Gautherie
1fa2780796
[NETSTAT] Fix output formats and more ( #1709 )
...
* [NETSTAT] Restore expected output formats
"Revert" parts of bd3c852012
.
CORE-16119
* [NETSTAT] Improve default and ICMPv4 output formats
* [NETSTAT] Fix a few typos, in output strings
* [NETSTAT] Output usage to StdErr
* [NETSTAT] Be more explicit about unimplemented -b/-t/-v options
2019-11-29 08:26:19 +01:00
Serge Gautherie
af0d1d2f98
[NETSTAT] '-p UDP' depends on '-a'
2019-08-16 14:46:45 +02:00
Serge Gautherie
5e10c4ed32
[NETSTAT] ShowUdpTable(): Fix "tcp" copypasta
2019-06-30 13:55:05 +02:00
Hermès Bélusca-Maïto
b695971c7f
[NETSTAT] Simplify some code; don't use exit(); call WSACleanup() on exit.
2019-06-29 18:10:43 +02:00
Hermès Bélusca-Maïto
ab7dc56d6c
[NETSTAT] Formatting; use _wsystem() call; do not hardcode buffer lengths.
2019-06-29 17:32:53 +02:00
Alexey Gorgurov
f6f66fa987
[NETSTAT] Fix TCP/UDP output. ( #1696 )
...
CORE-16151
The underlying StringCchPrintfW() function must use %S for CHAR strings
and %s for wide chars.
See
https://docs.microsoft.com/en-us/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=vs-2019
for details.
2019-06-29 16:58:47 +02:00
Hermès Bélusca-Maïto
84c20018e6
[NETSTAT] Really fix the build.
2019-06-20 21:15:12 +02:00
Hermès Bélusca-Maïto
dda5ec44b0
[NETSTAT] Simplify DoFormatMessage(), and fix build.
2019-06-20 20:59:23 +02:00
Lee Schroeder
bd3c852012
[NETSTAT] Convert the netstat utility to Unicode, and localize it. ( #1657 )
...
CORE-16119
Also, change its resource file description to reflect that the utility isn't just for TCPv4.
2019-06-20 20:48:07 +02:00
Pierre Schweitzer
29c883e2a5
[NETSTAT] Add support for displaying UDP connections owning process
...
Our netstat can basically look like this now:
https://twitter.com/HeisSpiter/status/1066430887208919040
2018-11-24 21:41:11 +01:00
Pierre Schweitzer
2b55073360
[NETSTAT] Add support for displaying TCP connections owning process
2018-11-24 21:41:10 +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