diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-09-16 15:48:01 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-09-17 20:17:07 +0200 |
| commit | 55f46569f3e9688c2a07973923bfda68aa2b0c3e (patch) | |
| tree | 9e04608c89b209ee219fffac5fde514a735b68c0 /src/sql/kernel/qsqldatabase.cpp | |
| parent | f38dd8159078761ae25a8b438da1fd95c9a12243 (diff) | |
Add security tags to the Qt Sql module
Tag code that constructs SQL statements, parses results, or deals with
user credentials as security critical. This is the driver code, the
implementation of QSqlResult, QSqlTableModel, and the QSqlDatabase
implementation (which deals with, and optionally stores, credentials).
The rest of the code is not critical and gets the default tag.
Fixes: QTBUG-135591
Pick-to: 6.10 6.9 6.8
Change-Id: I18fb565fd27ed8d1c9c1f3a1f572816b718eb3e8
Reviewed-by: Mate Barany <mate.barany@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
| -rw-r--r-- | src/sql/kernel/qsqldatabase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqldatabase.cpp b/src/sql/kernel/qsqldatabase.cpp index d07afd703bd..35c75d2de88 100644 --- a/src/sql/kernel/qsqldatabase.cpp +++ b/src/sql/kernel/qsqldatabase.cpp @@ -1,5 +1,6 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// Qt-Security score:critical reason:credentials #include "qsqldatabase.h" #include "qsqlquery.h" |
