[MPlayer-translations] 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-de.h

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

Modified: trunk/help/help_mp-de.h
==============================================================================
--- trunk/help/help_mp-de.h	Fri Apr  1 22:42:06 2011	(r33184)
+++ trunk/help/help_mp-de.h	Fri Apr  1 23:23:50 2011	(r33185)
@@ -785,6 +785,7 @@ static const char help_text[]=
 #define MSGTR_SKIN_BITMAP_ConversionError "24-bpp-zu-32-bpp-Konvertierungsfehler in %s\n"
 #define MSGTR_SKIN_UnknownMessage "Unbekannte Nachricht '%s'\n"
 #define MSGTR_SKIN_NotEnoughMemory "Nicht genug Speicher\n"
+#define MSGTR_SKIN_TooManyItemsDeclared "Zu viele Elemente deklariert.\n"
 #define MSGTR_SKIN_FONT_TooManyFontsDeclared "Zu viele Schriften deklariert.\n"
 #define MSGTR_SKIN_FONT_FontFileNotFound "Schrift-Beschreibungsdatei nicht gefunden.\n"
 #define MSGTR_SKIN_FONT_FontImageNotFound "Schrift-Bilddatei nicht gefunden.\n"


More information about the MPlayer-translations mailing list