From 94a35a65583c3291c1cd74387394b75bbe564949 Mon Sep 17 00:00:00 2001 From: fishery Date: Sat, 28 Mar 2020 15:24:05 -0500 Subject: [PATCH] [client] fix buffer overflow in opengl_options buffer overflow loading opengl_options --- client/renderers/OpenGL/opengl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/renderers/OpenGL/opengl.c b/client/renderers/OpenGL/opengl.c index 0ac3e7ff..0ef85ed7 100644 --- a/client/renderers/OpenGL/opengl.c +++ b/client/renderers/OpenGL/opengl.c @@ -77,7 +77,8 @@ static struct Option opengl_options[] = .description = "Use GL_AMD_pinned_memory if it is available", .type = OPTION_TYPE_BOOL, .value.x_bool = true - } + }, + {0} }; struct OpenGL_Options