diff help/help_mp-de.h @ 33098:b61dff4c9a35

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.
author ib
date Fri, 01 Apr 2011 21:23:50 +0000
parents 533c658a18da
children 7b7d03089255
line wrap: on
line diff
--- a/help/help_mp-de.h	Fri Apr 01 20:42:06 2011 +0000
+++ b/help/help_mp-de.h	Fri Apr 01 21:23:50 2011 +0000
@@ -785,6 +785,7 @@
 #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"