Commit 83092975 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins/src/event.cpp: fixed another small buffer overrun.
parent dd521c46
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* event.cpp: Event class * event.cpp: Event class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: event.cpp,v 1.7 2003/04/14 10:00:38 karibu Exp $ * $Id: event.cpp,v 1.8 2003/04/14 22:29:06 gbazin Exp $
* *
* Authors: Olivier Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -391,7 +391,7 @@ void Event::CreateShortcut() ...@@ -391,7 +391,7 @@ void Event::CreateShortcut()
return; return;
// Initiatization // Initiatization
char *mod = new char[4]; char *mod = new char[5];
char *key = new char[4]; char *key = new char[4];
// Scan the event // Scan the event
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment