diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2025-05-19 17:34:18 +0200 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2025-07-28 18:50:50 +0200 |
| commit | fd34c2fd3532c5b6430e90b28947c1e9404514dd (patch) | |
| tree | 15b992f73fbf0fac6839e37de2a9b5d08764fc3e | |
| parent | a0aa857fefc00770d1b10efdd6cf6517e81058fe (diff) | |
CRA[network/kernel]: Mark some files significant
While the files are parsing some data, it is acquired from a trusted
source, such as the operating system (e.g. /etc/resolv.conf)
Task-number: QTBUG-135584
Pick-to: 6.10 6.9 6.8
Change-Id: Id1741d66258f5c247342015988e2ce916e5280b3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
| -rw-r--r-- | src/network/kernel/qhostinfo_unix.cpp | 1 | ||||
| -rw-r--r-- | src/network/kernel/qnetworkinterface_linux.cpp | 1 | ||||
| -rw-r--r-- | src/network/kernel/qnetworkinterface_unix.cpp | 1 | ||||
| -rw-r--r-- | src/network/kernel/qnetworkinterface_win.cpp | 1 | ||||
| -rw-r--r-- | src/network/kernel/qnetworkproxy_darwin.cpp | 1 | ||||
| -rw-r--r-- | src/network/kernel/qnetworkproxy_win.cpp | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp index 3b0e2d333aa..1883f41123b 100644 --- a/src/network/kernel/qhostinfo_unix.cpp +++ b/src/network/kernel/qhostinfo_unix.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:significant reason:trusted-data //#define QHOSTINFO_DEBUG diff --git a/src/network/kernel/qnetworkinterface_linux.cpp b/src/network/kernel/qnetworkinterface_linux.cpp index a12a16d1f71..b94fc080e09 100644 --- a/src/network/kernel/qnetworkinterface_linux.cpp +++ b/src/network/kernel/qnetworkinterface_linux.cpp @@ -1,5 +1,6 @@ // 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:trusted-data #include "qnetworkinterface.h" #include "qnetworkinterface_p.h" diff --git a/src/network/kernel/qnetworkinterface_unix.cpp b/src/network/kernel/qnetworkinterface_unix.cpp index 39ff8dbb928..5313e1707dc 100644 --- a/src/network/kernel/qnetworkinterface_unix.cpp +++ b/src/network/kernel/qnetworkinterface_unix.cpp @@ -1,6 +1,7 @@ // Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 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:trusted-data #include "qbytearray.h" #include "qset.h" diff --git a/src/network/kernel/qnetworkinterface_win.cpp b/src/network/kernel/qnetworkinterface_win.cpp index 20e75139dbe..bc79d878708 100644 --- a/src/network/kernel/qnetworkinterface_win.cpp +++ b/src/network/kernel/qnetworkinterface_win.cpp @@ -1,6 +1,7 @@ // Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 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:trusted-data #define WIN32_LEAN_AND_MEAN 1 diff --git a/src/network/kernel/qnetworkproxy_darwin.cpp b/src/network/kernel/qnetworkproxy_darwin.cpp index 0eac65c96fd..5bbbf1903f2 100644 --- a/src/network/kernel/qnetworkproxy_darwin.cpp +++ b/src/network/kernel/qnetworkproxy_darwin.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:significant reason:trusted-data #include "qnetworkproxy.h" diff --git a/src/network/kernel/qnetworkproxy_win.cpp b/src/network/kernel/qnetworkproxy_win.cpp index a2daa62e841..021cbad3e89 100644 --- a/src/network/kernel/qnetworkproxy_win.cpp +++ b/src/network/kernel/qnetworkproxy_win.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:significant reason:trusted-data #include "qnetworkproxy.h" |
