diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-07-25 14:52:14 -0600 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-08-16 16:40:00 +0000 |
commit | 19b3d9187e0ff04004d74ec88c790bef8f0266ab (patch) | |
tree | 7fc0cd90ba94b09a9554001414b661f69b607e9f /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d1da1d04b920cebd31c3b9be68f83e4a4de3675f (diff) |
DO NOT MERGE. Extend SQLiteQueryBuilder for update and delete.
Developers often accept selection clauses from untrusted code, and
SQLiteQueryBuilder already supports a "strict" mode to help catch
SQL injection attacks. This change extends the builder to support
update() and delete() calls, so that we can help secure those
selection clauses too.
Bug: 111085900
Test: atest packages/providers/DownloadProvider/tests/
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java
Change-Id: Ib4fc8400f184755ee7e971ab5f2095186341730c
Merged-In: Ib4fc8400f184755ee7e971ab5f2095186341730c
(cherry picked from commit 506994268bc4fa07d8798b7737a2952f74b8fd04)
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions