From 861db357fb1d10962cd49ec47e42599634c5f45f Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Apr 2004 20:19:01 +0000 Subject: Authentication fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@589 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index 6073b0a4a..737e11b8c 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -260,6 +260,7 @@ bool connection::SendPacket(char *message, char* host) bool connection::RecvPacket(std::deque &messages, char* host) { char data[32767]; + memset(data, 0, 32767); for (int i = 0; i < this->connectors.size(); i++) { // returns false if the packet could not be sent (e.g. target host down) -- cgit v1.2.3