]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins/src/event.cpp: fixed another small buffer overrun.
authorGildas Bazin <gbazin@videolan.org>
Mon, 14 Apr 2003 22:29:06 +0000 (22:29 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 14 Apr 2003 22:29:06 +0000 (22:29 +0000)
modules/gui/skins/src/event.cpp

index 609283753916b09534aeace72224c23df2f18e0e..a7c22f78c4b5f592a152b7e593d17a044d4b75f8 100644 (file)
@@ -2,7 +2,7 @@
  * event.cpp: Event class
  *****************************************************************************
  * 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 Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -391,7 +391,7 @@ void Event::CreateShortcut()
         return;
 
     // Initiatization
-    char *mod = new char[4];
+    char *mod = new char[5];
     char *key = new char[4];
 
     // Scan the event