Index: trunk/extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c
===================================================================
--- trunk/extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c	(revision 34219)
+++ trunk/extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c	(revision 34220)
@@ -132,4 +132,5 @@
 /* Assess the clustering of all the streaks */
    for(i=0; i<MAXSIZE; i++) xusage[i] = 0;
+   for(i=0; i<MAXSIZE; i++) boxid[i] = -1;
    for(k=0; k<nbox; k++) {
       if(box[k].exfit >= MAXSIZE-1) continue;
@@ -188,4 +189,8 @@
 	 for(jp=kp+1; jp<n; jp++) {
 	    j = boxid[jp];
+	    /* CZW: Since I added the initialization statement above, */
+	    /*      any box with boxid == -1 hasn't been set, and */
+	    /*      therefore needs to be dropped, I think. */
+	    if ((k < 0)||(j < 0)) { continue; }
 	    if(ABS(yctr[jp]-yctr[kp]) <= DIFFERENT_STREAK) {
 /* Merge k into j, trash k from further consideration */
