make LatinIME compatible with -fsanitize=bounds #37

Closed
thestinger opened this Issue Oct 5, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@thestinger
Contributor

thestinger commented Oct 5, 2015

An out-of-bounds access is detected in TypingWeighting::getErrorType from native/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.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

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.

Contributor

thestinger commented Feb 7, 2016

It appears that this was a false positive in Clang 3.5 and it's fixed in Clang 3.6.

@thestinger thestinger closed this Feb 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment