diff options
| author | Matthias Rauter <matthias.rauter@qt.io> | 2025-06-19 11:40:08 +0200 |
|---|---|---|
| committer | Matthias Rauter <matthias.rauter@qt.io> | 2025-07-10 14:23:49 +0200 |
| commit | 1cb157adc0dea305df3f9bff8d22da27e6dd6bc5 (patch) | |
| tree | b3dd92eb6f2d67945fd63b4f6f65d818eef885cd /src/corelib/io/qfile.cpp | |
| parent | 614c309dc48d0e70dd4aca2a531cd3ab5a011694 (diff) | |
Mark QFile security significant
QFile is realativly simple because most of the work is forward to other
classes and files.
The opening of existing file handles looks a bit sketchy and we don't
test for e.g. FILE *fh being a nullptr. But that should really be
covered by the application developer.
QUIP: 23
Pick-to: 6.10 6.9 6.8
Task-number: QTBUG-135187
Change-Id: I926bc23859d47e6e8a9da542e0c3d5d39ab8f85b
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qfile.cpp')
| -rw-r--r-- | src/corelib/io/qfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index c645e57bdb6..8c22483fbfe 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -1,6 +1,7 @@ // Copyright (C) 2020 The Qt Company Ltd. // Copyright (C) 2017 Intel Corporation. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// Qt-Security score:significant reason:default #include "qplatformdefs.h" #include "qdebug.h" |
