⛅ Sync 2026-08-05 21:58:21

This commit is contained in:
github-actions[bot] committed 2026-08-05 21:58:21 +08:00
1 parent ca3fdb1643
commit 66ea3b0c46
734 files changed
+225296 -28

No files matched your search

@@ -1,11 +1,11 @@
--- a/src/local.c
+++ b/src/local.c
@@ -718,7 +718,7 @@ server_recv_cb(EV_P_ ev_io *w, int reven
ss_free(hostname);
} else {
- strncpy(host, ip, sizeof(ip));
+ strncpy(host, ip, INET6_ADDRSTRLEN);
}
}
ss_free(hostname);
} else {
- strncpy(host, ip, sizeof(ip));
+ strncpy(host, ip, INET6_ADDRSTRLEN);
}
}