diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-07-25 14:52:14 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-12-03 09:40:31 -0700 |
commit | 234de02b594a6f98c7ba92760533d3c6a2592c01 (patch) | |
tree | dd3f33f97650347c096bc494c8560f8d37da1db3 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 4879460f3552370e99d33e1d498c0c82609792bf (diff) |
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: Ibc8ce8b1801e7bfd946655fcf8b6865b6d71227c
Merged-In: Ib4fc8400f184755ee7e971ab5f2095186341730c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions