commit | 114f98a75334813fe116da3d95567db8984d45b9 | [log] [tgz] |
---|---|---|
author | Mattias Niklewski <mattias.niklewski@sonyericsson.com> | Tue Jan 18 14:27:23 2011 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Mon Apr 04 14:52:35 2011 +0200 |
tree | e3de45557e954b3aa4eb5cb5b084ee8c77f774b4 | |
parent | c6b22e2727bd3730edd5ad72831a9bb4670d00f3 [diff] |
Always return a valid index from Rfc822Tokenizer.findTokenEnd() If an invalid input string ends with a backslash inside a comment or quoted string, the returned index would be past the end of the string. In one case this would lead to a runtime exception being thrown from MultiAutoCompleteTextView.performValidation. Change-Id: If629372b429716c25cdc25764f088e95d4812d57