Index: src/hg/hgTracks/loweLabTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/loweLabTracks.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -B -U 4 -r1.30 -r1.31
--- src/hg/hgTracks/loweLabTracks.c	3 Sep 2008 19:19:03 -0000	1.30
+++ src/hg/hgTracks/loweLabTracks.c	21 Dec 2009 22:43:34 -0000	1.31
@@ -269,9 +269,9 @@
 {
 struct linkedFeatures *lf = NULL;
 struct simpleFeature *sf = NULL;
 AllocVar(lf);
-safef(lf->name,64,"%s",lfs->name);
+lf->name = cloneString(lfs->name);
 lf->start = lfs->start;
 lf->end = lfs->end;
 lf->tallStart = lfs->start;
 lf->tallEnd = lfs->end;
@@ -294,9 +294,9 @@
 struct simpleFeature *sf;
 int grayIx = grayInRange(bed->score, scoreMin, scoreMax);
 AllocVar(lf);
 lf->grayIx = grayIx;
-strncpy(lf->name, bed->name, sizeof(lf->name));
+lf->name = cloneString(bed->name);
 lf->orientation = orientFromChar(bed->strand[0]);
 AllocVar(sf);
 sf->start = bed->chromStart;
 sf->end = bed->chromEnd;

