diff options
author | Matthias Rauter <[email protected]> | 2025-06-17 15:30:57 +0200 |
---|---|---|
committer | Matthias Rauter <[email protected]> | 2025-06-18 15:03:02 +0200 |
commit | 655c74a54804965d59130af789efd1b83f76d71b (patch) | |
tree | de1d9372d0cb4f6ad3587bc1ac6585db884b58f4 | |
parent | 78a0018c86b98a63ccb13f61d4a33e94c3f053cc (diff) |
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 <[email protected]>
-rw-r--r-- | src/corelib/io/qdir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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" |