diff -u kismet-2.2/CHANGELOG kismet-2.2.1/CHANGELOG
--- kismet-2.2/CHANGELOG	Thu May 16 22:54:14 2002
+++ kismet-2.2.1/CHANGELOG	Mon May 27 23:46:39 2002
@@ -1,3 +1,6 @@
+May 26 2002  2.2.1  !! 2.2.1 released - potentially exploitable local root
+                       hole fixed !!
+
 May 16 2002  2.2    !! 2.2 released (wow, it's been a month, hasn't it.)
 
 May 16 2002  2.1    Propagated cross-compiler stuff to included libpcap
Common subdirectories: kismet-2.2/conf and kismet-2.2.1/conf
Common subdirectories: kismet-2.2/docs and kismet-2.2.1/docs
Common subdirectories: kismet-2.2/extra and kismet-2.2.1/extra
diff -u kismet-2.2/kismet_curses.cc kismet-2.2.1/kismet_curses.cc
--- kismet-2.2/kismet_curses.cc	Mon May 13 16:46:00 2002
+++ kismet-2.2.1/kismet_curses.cc	Mon May 27 23:47:50 2002
@@ -311,7 +311,7 @@
         }
     }
 
-    if (sscanf(server, "%[^:]:%d", guihost, &guiport) != 2) {
+    if (sscanf(server, "%1024[^:]:%d", guihost, &guiport) != 2) {
         fprintf(stderr, "FATAL:  Invalid server (%s) specified (host:port required)\n",
                server);
         exit(1);
diff -u kismet-2.2/kismet_server.cc kismet-2.2.1/kismet_server.cc
--- kismet-2.2/kismet_server.cc	Mon May 13 16:44:36 2002
+++ kismet-2.2.1/kismet_server.cc	Mon May 27 23:47:13 2002
@@ -465,7 +465,7 @@
                 gps_enable = 0;
             }
 #ifdef HAVE_GPS
-            else if (sscanf(optarg, "%[^:]:%d", gpshost, &gpsport) < 2) {
+            else if (sscanf(optarg, "%1024[^:]:%d", gpshost, &gpsport) < 2) {
                 fprintf(stderr, "Invalid GPS host '%s' (host:port or off required)\n",
                        optarg);
                 gps_enable = 1;
@@ -985,7 +985,7 @@
 #ifdef HAVE_GPS
     if (gpsport == -1 && gps_enable) {
         if (conf.FetchOpt("gps") == "true") {
-            if (sscanf(conf.FetchOpt("gpshost").c_str(), "%[^:]:%d", gpshost, &gpsport) != 2) {
+            if (sscanf(conf.FetchOpt("gpshost").c_str(), "%1024[^:]:%d", gpshost, &gpsport) != 2) {
                 fprintf(stderr, "Invalid GPS host in config (host:port required)\n");
                 exit(1);
             }
Common subdirectories: kismet-2.2/libpcap-2002.05.16 and kismet-2.2.1/libpcap-2002.05.16
Common subdirectories: kismet-2.2/packaging and kismet-2.2.1/packaging
Common subdirectories: kismet-2.2/scripts and kismet-2.2.1/scripts
Common subdirectories: kismet-2.2/wav and kismet-2.2.1/wav
