demos: use larger buffer for snprintf() call, see bug 21220
authorBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2009 15:25:52 +0000 (09:25 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Apr 2009 15:25:52 +0000 (09:25 -0600)
progs/samples/blendeq.c

index cd0474c5cea1da5b64885c2183b3d246dd6e254c..037d06fa5285f88dc4ba49fe63f2442b81be5e6e 100644 (file)
@@ -100,7 +100,7 @@ static void PrintColorStrings( void )
 {
     GLubyte ubbuf[3];
     int i, xleft, xright;
-    char colorString[18];
+    char colorString[100];
 
     xleft = 5 + windW/4;
     xright = 5 + windW/2;