Index: trunk/BNC/RTCM/GPSDecoder.h
===================================================================
--- trunk/BNC/RTCM/GPSDecoder.h	(revision 332)
+++ trunk/BNC/RTCM/GPSDecoder.h	(revision 333)
@@ -46,5 +46,5 @@
   }
   int    flags;
-  char   StatID[5+1]; // Station ID
+  char   StatID[29+1];// Station ID
   int    SVPRN;       // Satellite PRN
   int    GPSWeek;     // Week of GPS-Time
Index: trunk/BNC/bnccaster.cpp
===================================================================
--- trunk/BNC/bnccaster.cpp	(revision 332)
+++ trunk/BNC/bnccaster.cpp	(revision 333)
@@ -126,4 +126,5 @@
   // ------------------
   strncpy(obs->StatID, staID.constData(),sizeof(obs->StatID));
+  obs->StatID[sizeof(obs->StatID)-1] = '\0';
         
   // Prepare RINEX Output
