yuanyuanxiang and deepseek-flash
c208b7368e
Fix: Format net-state addresses as narrow strings on the client
...
The client is a MultiByte build, so the destination buffers are char[]
and _T("%s:%u") expands to an ANSI format that expects a char pointer.
The code nevertheless converted inet_ntoa() output to WCHAR* first, and
the ANSI %s stopped at the zero byte that follows the first wide
character. Every address therefore collapsed to its leading digit, so
192.168.0.55:443 was shown as 1 and 0.0.0.0:80 as 0 in the local and
remote address columns of the network connections tab.
Write the address and port straight into the char buffers with
sprintf_s in all four enumeration paths (legacy and Vista APIs, TCP and
UDP), and drop the now unused char2wchar_t helper.
Co-Authored-By: deepseek-flash
2026-10-20 21:24:47 +02:00
..
2026-04-19 22:55:21 +02:00
2026-10-05 10:09:26 +02:00
2026-06-05 00:05:13 +02:00
2026-04-19 22:55:21 +02:00
2026-10-05 10:41:04 +02:00
2026-08-15 11:09:14 +02:00
2026-08-15 11:09:14 +02:00
2026-08-21 19:50:11 +02:00
2026-04-19 22:55:21 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-06-06 13:02:29 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-13 17:05:37 +02:00
2026-04-19 22:55:21 +02:00
2026-05-30 00:12:38 +02:00
2026-05-30 00:12:38 +02:00
2026-06-15 19:14:49 +02:00
2026-05-30 00:12:38 +02:00
2026-10-10 14:39:34 +02:00
2026-10-04 19:55:29 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-14 21:10:21 +02:00
2026-10-14 21:10:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-20 13:12:16 +02:00
2026-09-11 16:28:37 +02:00
2026-07-13 19:02:25 +02:00
2026-07-13 19:02:25 +02:00
2026-04-19 22:55:21 +02:00
2026-10-05 10:52:58 +02:00
2026-10-05 10:52:58 +02:00
2026-10-20 21:15:45 +02:00
2026-10-04 18:23:06 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-05-09 23:13:24 +02:00
2026-04-19 22:55:21 +02:00
2026-10-05 10:52:58 +02:00
2026-10-05 10:52:58 +02:00
2026-04-19 22:55:21 +02:00
2026-05-30 00:12:38 +02:00
2026-05-30 00:12:38 +02:00
2026-04-19 22:55:21 +02:00
2026-10-02 19:57:57 +02:00
2026-06-05 00:05:13 +02:00
2026-10-14 21:10:21 +02:00
2026-10-14 21:10:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-15 13:48:27 +02:00
2026-10-14 21:10:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-06-24 22:31:14 +02:00
2026-04-19 22:55:21 +02:00
2026-10-17 09:29:33 +02:00
2026-08-15 11:09:14 +02:00
2026-07-14 22:32:29 +02:00
2026-06-05 00:05:13 +02:00
2026-05-06 19:29:02 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-17 09:29:33 +02:00
2026-10-17 09:29:33 +02:00
2026-10-20 21:24:47 +02:00
2026-10-20 21:24:47 +02:00
2026-08-21 19:50:11 +02:00
2026-08-21 19:50:11 +02:00
2026-06-05 00:05:13 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-05-11 20:22:07 +02:00
2026-10-20 13:12:16 +02:00
2026-10-20 13:12:16 +02:00
2026-08-23 10:37:55 +02:00
2026-06-05 00:05:13 +02:00
2026-08-23 10:37:55 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-04 19:55:29 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-18 11:03:17 +02:00
2026-06-14 00:24:46 +02:00
2026-10-18 11:03:17 +02:00
2026-06-15 19:15:31 +02:00
2026-05-07 18:17:28 +02:00
2026-05-07 18:17:28 +02:00
2026-06-16 21:03:45 +02:00
2026-06-16 21:03:45 +02:00
2026-10-20 15:00:35 +02:00
2026-04-19 22:55:21 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-06-29 22:49:30 +02:00
2026-06-29 22:49:30 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-08-21 19:50:11 +02:00
2026-06-05 00:05:13 +02:00
2026-05-08 12:39:59 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-06-05 00:05:13 +02:00
2026-10-20 13:12:16 +02:00
2026-06-29 22:49:30 +02:00
2026-04-19 22:55:21 +02:00
2026-10-20 15:00:35 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-04-19 22:55:21 +02:00
2026-10-15 13:48:27 +02:00
2026-10-15 13:48:27 +02:00
2026-04-19 22:55:21 +02:00
2026-05-30 00:12:38 +02:00
2026-10-13 17:05:37 +02:00
2026-10-13 17:05:37 +02:00
2026-06-15 14:11:42 +02:00
2026-05-30 00:12:38 +02:00
2026-10-04 21:03:03 +02:00