From eb64e66e9f92c597f7f50407196949d5ca704ac2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 12 May 2009 17:28:43 -0400 Subject: [PATCH] Fixed crash when clientprefs saw disconnect from 64th client (bug 3821, r=pred). --- extensions/clientprefs/cookie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/clientprefs/cookie.h b/extensions/clientprefs/cookie.h index 8fe2376e..22fd26a9 100644 --- a/extensions/clientprefs/cookie.h +++ b/extensions/clientprefs/cookie.h @@ -139,7 +139,7 @@ public: private: KTrie cookieTrie; - SourceHook::List clientData[MAXCLIENTS]; + SourceHook::List clientData[MAXCLIENTS+1]; bool connected[MAXCLIENTS+1]; bool statsLoaded[MAXCLIENTS+1];