Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTredwellGit <tredwell@tutanota.com>2020-09-02 22:58:03 +0300
committerTredwellGit <tredwell@tutanota.com>2020-09-02 22:58:03 +0300
commite5c8c2a08c09b18e84975d35e10c1f6b05485009 (patch)
treea64e3266407600a6247d59c5f93b98b3979e2239 /src/murmur/Server.cpp
parentaaddd30246df6cf3b4045f8efbd60a0c7fc7019a (diff)
FIX(server): Use valid format string type
Format specifies type 'void *' but the argument has type 'QObject *'. Using an argument of an unexpected type is undefined behavior.
Diffstat (limited to 'src/murmur/Server.cpp')
-rw-r--r--src/murmur/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp
index d055a3c5f..305a0f682 100644
--- a/src/murmur/Server.cpp
+++ b/src/murmur/Server.cpp
@@ -1584,7 +1584,7 @@ void Server::connectionClosed(QAbstractSocket::SocketError err, const QString &r
// "Error while reading: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init [20]"
//
// Definitely not ideal, but it fixes a critical vulnerability.
- qWarning("Ignored OpenSSL error 140E0197 for %p", sender());
+ qWarning("Ignored OpenSSL error 140E0197 for %p", static_cast<void *>(sender()));
return;
}