From a4db3dbe6499567675bbabaa042bf039fff1980c Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 16 Jun 2017 23:30:13 +0200 Subject: [PATCH] nacl: Fixed unnecessary large input text array. --- src/video/nacl/SDL_naclevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/nacl/SDL_naclevents.c b/src/video/nacl/SDL_naclevents.c index e11922dc5..57e222fdf 100644 --- a/src/video/nacl/SDL_naclevents.c +++ b/src/video/nacl/SDL_naclevents.c @@ -329,7 +329,7 @@ void NACL_PumpEvents(_THIS) { struct PP_Point location; struct PP_Var var; const char *str; - char text[64]; + char text[SDL_TEXTINPUTEVENT_TEXT_SIZE]; Uint32 str_len; SDL_VideoData *driverdata = (SDL_VideoData *) _this->driverdata; SDL_Mouse *mouse = SDL_GetMouse();