From 54c571f7f526f6f6d75ebacaaa2c1a4f0037323f Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Fri, 6 Jul 2007 21:43:17 +0000 Subject: [PATCH] Bugfix: user cookies should be validated as serializable. This breaks UD's current cookie mechanism, but it's easily fixed. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@350 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/ezgame/client/GameControlBackend.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/as/com/threerings/ezgame/client/GameControlBackend.as b/src/as/com/threerings/ezgame/client/GameControlBackend.as index f35c5090..d3e2b28d 100644 --- a/src/as/com/threerings/ezgame/client/GameControlBackend.as +++ b/src/as/com/threerings/ezgame/client/GameControlBackend.as @@ -432,6 +432,7 @@ public class GameControlBackend public function setUserCookie_v1 (cookie :Object) :Boolean { validateConnected(); + validateValue(cookie); var ba :ByteArray = (EZObjectMarshaller.encode(cookie, false) as ByteArray); if (ba.length > MAX_USER_COOKIE) {