[MPlayer-DOCS] r33185 - in trunk: gui/skin/skin.c help/help_mp-de.h help/help_mp-en.h

ib subversion at mplayerhq.hu
Fri Apr 1 23:23:50 CEST 2011


Author: ib
Date: Fri Apr  1 23:23:50 2011
New Revision: 33185

Log:
Prevent an out-of-bounds array access.

Before adding a new item, check whether the corresponding Items array
has space left to actually store it.

Modified:
   trunk/help/help_mp-en.h

Changes in other areas also in this revision:
Modified:
   trunk/gui/skin/skin.c
   trunk/help/help_mp-de.h

Modified: trunk/help/help_mp-en.h
==============================================================================
--- trunk/help/help_mp-en.h	Fri Apr  1 22:42:06 2011	(r33184)
+++ trunk/help/help_mp-en.h	Fri Apr  1 23:23:50 2011	(r33185)
@@ -588,6 +588,7 @@ static const char help_text[]=
 #define MSGTR_SKIN_BITMAP_ConversionError "24 bit to 32 bit conversion error in %s\n"
 #define MSGTR_SKIN_UnknownMessage "Unknown message '%s'\n"
 #define MSGTR_SKIN_NotEnoughMemory "Not enough memory\n"
+#define MSGTR_SKIN_TooManyItemsDeclared "Too many items declared.\n"
 #define MSGTR_SKIN_FONT_TooManyFontsDeclared "Too many fonts declared.\n"
 #define MSGTR_SKIN_FONT_FontFileNotFound "Font description file not found.\n"
 #define MSGTR_SKIN_FONT_FontImageNotFound "Font image file not found.\n"


More information about the MPlayer-DOCS mailing list