Index: trunk/Ohana/src/getstar/src/ConfigInit.c
===================================================================
--- trunk/Ohana/src/getstar/src/ConfigInit.c	(revision 41891)
+++ trunk/Ohana/src/getstar/src/ConfigInit.c	(revision 42389)
@@ -1,8 +1,10 @@
 # include "getstar.h"
+
+# define MY_MAX_PATH 256
 
 int ConfigInit (int *argc, char **argv) {
 
   char *config, *file;
-  char CatdirPhotcodeFile[256];
+  char CatdirPhotcodeFile[MY_MAX_PATH];
 
   /*** load configuration info ***/
@@ -31,5 +33,5 @@
 
   /* XXX this does not yet write out the master photcode table */
-  sprintf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR);
+  snprintf_nowarn (CatdirPhotcodeFile, MY_MAX_PATH, "%s/Photcodes.dat", CATDIR);
   if (!LoadPhotcodes (CatdirPhotcodeFile, NULL, FALSE)) {
     fprintf (stderr, "error loading photcode table %s\n", CatdirPhotcodeFile);
Index: trunk/Ohana/src/getstar/src/ConfigInit_coords.c
===================================================================
--- trunk/Ohana/src/getstar/src/ConfigInit_coords.c	(revision 41891)
+++ trunk/Ohana/src/getstar/src/ConfigInit_coords.c	(revision 42389)
@@ -25,5 +25,5 @@
     SKY_TABLE[0] = 0;
   }
-  sprintf (ImageCat, "%s/Images.dat", CATDIR);
+  snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR);
 
   /* used by parse_time to find time-related keywords */
Index: trunk/Ohana/src/getstar/src/ConfigInit_extract.c
===================================================================
--- trunk/Ohana/src/getstar/src/ConfigInit_extract.c	(revision 41891)
+++ trunk/Ohana/src/getstar/src/ConfigInit_extract.c	(revision 42389)
@@ -25,5 +25,5 @@
     SKY_TABLE[0] = 0;
   }
-  sprintf (ImageCat, "%s/Images.dat", CATDIR);
+  snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR);
 
   if (*CATMODE == 0) strcpy (CATMODE, "RAW");
Index: trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c
===================================================================
--- trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c	(revision 41891)
+++ trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c	(revision 42389)
@@ -25,5 +25,5 @@
     SKY_TABLE[0] = 0;
   }
-  sprintf (ImageCat, "%s/Images.dat", CATDIR);
+  snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR);
 
   /* used by parse_time to find time-related keywords */
