summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringtokenizer.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-09-10 14:08:58 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-09-11 19:24:48 +0000
commit5f6bfa3692a91c9f162606c25ec496656c253dfe (patch)
treeff5fb0fb7f9851cdf6ded4ee1a1df91ff2ff7068 /src/corelib/text/qstringtokenizer.cpp
parenta865a146bead3526dc8df5badf35aa2b55bcd614 (diff)
Mark QStringTokenizer as security-critical
QString and QByteArray are critical, too, and not because of their ownership semantics, but because of the algorithms operating on them. QStringTokenizer is one of those algorithms. The implementation is completely in the header, so mark the header critical. The .cpp file contains only documentation blocks. Task-nunber: QTBUG-135195 Pick-to: 6.10.0 6.10 6.9 6.8 Change-Id: I0780b342d0886efa773a5af24066de11b6f3b621 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/text/qstringtokenizer.cpp')
-rw-r--r--src/corelib/text/qstringtokenizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/text/qstringtokenizer.cpp b/src/corelib/text/qstringtokenizer.cpp
index d6443ee4a71..ff9f69a7ea7 100644
--- a/src/corelib/text/qstringtokenizer.cpp
+++ b/src/corelib/text/qstringtokenizer.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz <marc.mutz@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:sensitive reason:docs-only
#include "qstringtokenizer.h"
#include "qstringalgorithms.h"