summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagdalena Stojek <[email protected]>2025-06-19 12:37:06 +0200
committerQt Cherry-pick Bot <[email protected]>2025-06-27 20:11:11 +0000
commitc75d68376950cae1f5c97013677e38d2792d0c06 (patch)
treea006a7801f5b4163d83fc65d0f67292636322953
parentf4822eec1855231f189e5348dffc29299f6edf93 (diff)
Mark qtbase/src/xml files as security critical
qdom.cpp and qdomhelpers.cpp are data parsers. Fixes: QTBUG-135587 Pick-to: 6.8 Change-Id: I3ea77f46f91d5e05d7d6ce88f416e3062f8096ea Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit a5722944bea247159f1d105c0bf767b9bf19cf21) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit b0ccd8f8370f2db7f3136c4f47ac55d9024f2894)
-rw-r--r--src/xml/dom/qdom.cpp1
-rw-r--r--src/xml/dom/qdomhelpers.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp
index f3c7e2d9938..a6a502e5b47 100644
--- a/src/xml/dom/qdom.cpp
+++ b/src/xml/dom/qdom.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:data-parser
#include <qplatformdefs.h>
#include <qdom.h>
diff --git a/src/xml/dom/qdomhelpers.cpp b/src/xml/dom/qdomhelpers.cpp
index c41529f289d..dae25aa07d0 100644
--- a/src/xml/dom/qdomhelpers.cpp
+++ b/src/xml/dom/qdomhelpers.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2019 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:data-parser
#include <QtXml/qtxmlglobal.h>