diff options
author | Steve Block <steveblock@google.com> | 2011-11-16 15:56:13 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-11-21 18:37:20 +0000 |
commit | 96309385b22eca3b1ff3eb9d30bea0958ce47875 (patch) | |
tree | 9a5d5e3a64a3a6af5c146ddb9fdc8d876d9ccd2d /Source/WebKit/android/nav/WebView.cpp | |
parent | f63b0fca2c4bfc215ae70840295b3910c8d61aa1 (diff) | |
download | external_webkit-96309385b22eca3b1ff3eb9d30bea0958ce47875.zip external_webkit-96309385b22eca3b1ff3eb9d30bea0958ce47875.tar.gz external_webkit-96309385b22eca3b1ff3eb9d30bea0958ce47875.tar.bz2 |
Fix JavaBridge to handle overflow of array length
When converting to a Java array type, if the length property of a Java Object
is outside the bounds for a Java array, convert to null.
Also convert to null if the length property is not a number.
Bug: 5626284
Change-Id: Ic4029d58cebe2cab9a37d52af09456c3cab6e5cd
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
0 files changed, 0 insertions, 0 deletions