Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
make LatinIME compatible with -fsanitize=bounds #37
Comments
thestinger
added
the
Type: enhancement
label
Oct 5, 2015
thestinger
added
upstream
Type: bug
and removed
upstream
Type: enhancement
labels
Dec 31, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Feb 7, 2016
Contributor
It appears that this was a false positive in Clang 3.5 and it's fixed in Clang 3.6.
|
It appears that this was a false positive in Clang 3.5 and it's fixed in Clang 3.6. |
thestinger
closed this
Feb 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thestinger commentedOct 5, 2015
An out-of-bounds access is detected in
TypingWeighting::getErrorTypefromnative/jni/src/suggest/policyimpl/typing/typing_weighting.cpp. It's not obvious why this happens. It's possible it's an LLVM bug, but it's more likely that there's genuinely an undefined out-of-bounds access happening. For now, LatinIME is just built with-fno-sanitize=bounds.