Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12505) illegal diplomat packet causes server crash
Home

[Freeciv-Dev] (PR#12505) illegal diplomat packet causes server crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12505) illegal diplomat packet causes server crash
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Mar 2005 22:17:48 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12505 >

This is terrible.  We really need to do an audit of the network handling 
code.

-jason

Index: server/unithand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/unithand.c,v
retrieving revision 1.324
diff -u -r1.324 unithand.c
--- server/unithand.c   14 Mar 2005 05:58:18 -0000      1.324
+++ server/unithand.c   14 Mar 2005 06:16:42 -0000
@@ -272,8 +272,6 @@
        spy_get_sabotage_list(pplayer, pdiplomat, pcity);
       }
       break;
-    default:
-       assert(0);
     }
   }
 }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12505) illegal diplomat packet causes server crash, Jason Short <=