summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-19 23:05:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-19 23:05:42 +0200
commitd77c108922f7ea2c57bc63bbe289bba92f6213a6 (patch)
tree0715af276780da8b1879c9e751e111a261f45785 /sw
parentaca657b380477f122e1b541e6b0050f34bfc23de (diff)
external/icu: Change flexible array members to be of length 1 instead of 2
...so that -fsanitize=undefined does not report false out-of-bounds accesses; Clang's isFlexibleArrayMemberExpr (lib/CodeGen/CGExpr.cpp) only treats arrays of length 0 and 1 as such special flexible cases. There appears to be no code in icu that depends on those arrays to be of length 2 (e.g., via sizeof), though it does look suspicious that they are deliberately of length 2 instead of 1. Change-Id: I85293e769f1d64cb4e60e13f1cd7f88b76e37487
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions