From 0d0028e6df3542272ce833fec2e7af99d762fe8f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 16 Apr 2009 09:25:52 -0600 Subject: [PATCH] demos: use larger buffer for snprintf() call, see bug 21220 --- progs/samples/blendeq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progs/samples/blendeq.c b/progs/samples/blendeq.c index cd0474c5cea..037d06fa528 100644 --- a/progs/samples/blendeq.c +++ b/progs/samples/blendeq.c @@ -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; -- 2.11.0