From 927f149ff2caa2203398ff1bee3c892477fe54e7 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 22 Jan 2010 13:02:15 +0000 Subject: (svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code. --- src/lang/english.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lang') diff --git a/src/lang/english.txt b/src/lang/english.txt index adb4f3008..1e1ad8021 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -2370,6 +2370,7 @@ STR_NEWGRF_ERROR_UNKNOWN_PROPERTY :Unknown Action STR_NEWGRF_ERROR_INVALID_ID :Attempt to use invalid ID. STR_NEWGRF_ERROR_CORRUPT_SPRITE :{YELLOW}{RAW_STRING} contains a corrupt sprite. All corrupt sprites will be shown as a red question mark (?). STR_NEWGRF_ERROR_MULTIPLE_ACTION_8 :Contains multiple Action 8 entries. +STR_NEWGRF_ERROR_READ_BOUNDS :Read past end of pseudo-sprite. # NewGRF related 'general' warnings STR_NEWGRF_POPUP_CAUTION_CAPTION :{WHITE}Caution! -- cgit v1.2.3-70-g09d2