summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-03-11 11:50:30 +0100
committerMarc Mutz <marc.mutz@qt.io>2025-04-22 23:03:17 +0000
commitef8d3e91d88e886cb12ccee9604e561b7699072b (patch)
tree79a9e724231fb2d7f4659ee15b0c921ff21ee34a /src/corelib/text/qstring.cpp
parentbfdedb260e019244cf199ed76915811ff69c9582 (diff)
Mark QByteArray and QString as security-critical
These classes are usually the first line of defense, containing tainted data before anything else had the chance the verify it. Amends 8df072fc8006510c9b743e8ffedaaf51a876883a. QUIP: 23 Task-number: QTBUG-135195 Pick-to: 6.9 6.8 Change-Id: I91413e022b9794e21b6816b80962f5169ce8cd78 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 79d3c544f30..ff68f9509e4 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -2,6 +2,7 @@
// Copyright (C) 2022 Intel Corporation.
// Copyright (C) 2019 Mail.ru Group.
// 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:data-parser
#include "qstringlist.h"
#if QT_CONFIG(regularexpression)