From 655c74a54804965d59130af789efd1b83f76d71b Mon Sep 17 00:00:00 2001 From: Matthias Rauter Date: Tue, 17 Jun 2025 15:30:57 +0200 Subject: Mark qdir.cpp as security-critical QDir parses strings representing file paths. These strings may come from untrusted sources, and even existing paths could be crafted to trigger potential bugs in QDir. Therefore, this file is marked as security-critical. QUIP: 23 Pick-to: 6.10 6.9 6.8 Task-number: QTBUG-135187 Change-Id: I817ad336ddc978c4cba1f385d60017f3a8f8e4fd Reviewed-by: Marc Mutz --- src/corelib/io/qdir.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/io/qdir.cpp') diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 4945d2b66ff..caf8dac464b 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.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 "qdir.h" -- cgit v1.2.3