java-topology/defects/dogecoin-0001/patch/dogecoin-0001.patch

13 lines
699 B
Diff

# UNDF: UNDF-2026-000000918
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -347,7 +347,7 @@ bool static Socks5(const std::string& strDest, int port, const ProxyCredentials
if (ret != (ssize_t)vAuth.size()) {
CloseSocket(hSocket);
return error("Error sending authentication to proxy");
}
- LogPrint("proxy", "SOCKS5 sending proxy authentication %s:%s\n", auth->username, auth->password);
+ LogPrint("proxy", "SOCKS5 sending proxy authentication %s:***\n", auth->username);
char pchRetA[2];
if (( recvr = InterruptibleRecv(pchRetA, 2, SOCKS5_RECV_TIMEOUT, hSocket)) != IntrRecvError::OK) {
CloseSocket(hSocket);