aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-04 17:35:16 +0200
committerDavid Robillard <d@drobilla.net>2020-10-04 17:35:59 +0200
commit4531da003aa3eae02a507fc851e904b3273b7d97 (patch)
tree97979ae17312b234d3118f11cd80d653e9d35152
parent885eeb04ed0aca8ad1f7c3461d773602084ed05f (diff)
Fix potentially short string buffer
-rw-r--r--pugl/detail/x11_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c
index 228a530..b756355 100644
--- a/pugl/detail/x11_gl.c
+++ b/pugl/detail/x11_gl.c
@@ -108,7 +108,7 @@ puglX11GlConfigure(PuglView* view)
view->hints[PUGL_DOUBLE_BUFFER] = puglX11GlGetAttrib(
display, fbc[0], GLX_DOUBLEBUFFER);
- char msg[128];
+ char msg[256];
snprintf(
msg,