qt5base-lts/tests/auto/sql
Marcel Krems 41a716ebbf QSqlite: Don't crash after binding too many placeholders
When you bind more values than the query has placeholders,
indexes will be empty which causes an out-of-bounds access in indexes.first.

We can't check the parameter count because of multiple placeholders with the same name,
so we check if the name is null.

Tested with SQLite and PostgreSQL

Pick-to: 5.15
Change-Id: Id5d4bd15d7ed16603f47b87d6e0bf811a20157d8
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2020-08-24 13:50:55 +02:00
..
kernel QSqlite: Don't crash after binding too many placeholders 2020-08-24 13:50:55 +02:00
models Interbase: Fix tests when running against Firebird 2020-08-23 00:22:04 +02:00
CMakeLists.txt Regenerate some of the test projects that do SUBDIRS += foo 2019-08-07 11:55:38 +00:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00