summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author jsh <jsh@google.com> 2009-09-18 15:22:48 -0700
committer jsh <jsh@google.com> 2009-09-18 15:31:10 -0700
commit001d0abd3e523dce5c8a4c14e22bd1ea79976f03 (patch)
treec64184a32a1aadde19401eeb2525313978a95e46 /libs/ui/FramebufferNativeWindow.cpp
parentb18b0956afbe0730ced1c5b95c0071dba447765e (diff)
Fix potential ArrayIndexOutOfBoundsException.
When parsing an SMS message as email, extractEmailAddressFromMessageBody() checks parts.length >= 1, but then proceeds to access parts[1] (which may not exist). Instead, check for parts.length >= 2, and treat parts.length = 1 as non-email. b/2122698
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions