508c37ee710797d32c6981c9227db6fa388dc304
markd
  Thu May 15 10:37:12 2025 -0700
fixed buffer overflow in fixed size mouseover buffer

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 9792bf8240d..158f018aa90 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -2927,31 +2927,31 @@
 /* Make a stupid list of exons separate from what's given. */
 /* It seems like lf->components isn't necessarily sorted. */
     {
     refAdd(&exonList, exon);
     exon = exon->next;
     }
 /* Now sort it. */
 slSort(&exonList, exonSlRefCmp);
 
 numExons = slCount(exonList);
 struct genePred *gp = lf->original;
 boolean revStrand = (lf->orientation == -1);
 int eLast = -1;
 int s = -1;
 int e = -1;
-char mouseOverText[256];
+char mouseOverText[4096];
 boolean isExon = TRUE;
 int picStart = insideX;
 int picEnd = picStart + insideWidth;
 if (lButton)
     picStart += buttonW;
 if (rButton)
     picEnd -= buttonW;
 
 for (ref = exonList; TRUE; )
     {
     exon = ref->val;
     if (isExon)
 	{
 	s = exon->start;
 	e = exon->end;