From de64701702c2b4d4d951be0e77afeda5177bc494 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 29 Nov 2011 11:31:48 +0100 Subject: [PATCH] Fix mamer crash on listmanagers command --- lasker-2.2.3/bots/mamer/CommandEntry.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lasker-2.2.3/bots/mamer/CommandEntry.cc b/lasker-2.2.3/bots/mamer/CommandEntry.cc index c097030..4046358 100644 --- a/lasker-2.2.3/bots/mamer/CommandEntry.cc +++ b/lasker-2.2.3/bots/mamer/CommandEntry.cc @@ -230,7 +230,7 @@ int CommandEntry::ListManagers(User *user, param_list params) { "-----------------", "---", "----", "--------", "", "-----------------", "---", "----", "--------", "", "\\n"); i=1; - memset(date, '\0', 64); + memset(date, '\0', 16); gMamer.XServerCom("\n%s %s ", "qtell", user->name); while(fscanf(theFile, "%s", manager) > 0) { needToDelete = 0; -- 1.7.0.4