diff options
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/common/ucmndata.cpp')
-rw-r--r-- | Build/source/libs/icu/icu-src/source/common/ucmndata.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-src/source/common/ucmndata.cpp b/Build/source/libs/icu/icu-src/source/common/ucmndata.cpp index 251c7ba1823..ba2310bb7ab 100644 --- a/Build/source/libs/icu/icu-src/source/common/ucmndata.cpp +++ b/Build/source/libs/icu/icu-src/source/common/ucmndata.cpp @@ -77,7 +77,11 @@ typedef struct { typedef struct { uint32_t count; uint32_t reserved; - PointerTOCEntry entry[2]; /* Actual size is from count. */ + /** + * Variable-length array declared with length 1 to disable bounds checkers. + * The actual array length is in the count field. + */ + PointerTOCEntry entry[1]; } PointerTOC; |