QUIP-23: add security tags to all sources
Several files parse incoming data, which generally has to be considered
untrusted. Mark those sources as critical. The pure reading of data into
a buffer is not critical.
The runtime loading of the udev library via QLibrary represents an
additional interface for crossing a trust boundary; perhaps this should
use QSystemLibrary as a more hardened version that avoids loading
executable modules from untrusted locations.
The rest of the code does not represent an interface for crossing a
trust boundary, so is marked with the default.
Pick-to: 6.11 6.10 6.8
Fixes: QTBUG-135464
Change-Id: I13ddc9a23d7b7bfae5d76582b4b10aa6079a029f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | 1d904c0bbe97c145a1256846575c3a2f572dd4e2 |
| parent | beb5377dec7dd8efd65035262bd3e93a5d38a9c6 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Mon, 9 Feb 2026 12:47:37 +0100 |
- M src/serialport/qserialport.cpp
- M src/serialport/qserialport.h
- M src/serialport/qserialport_p.h
- M src/serialport/qserialport_unix.cpp
- M src/serialport/qserialport_win.cpp
- M src/serialport/qserialportglobal.h
- M src/serialport/qserialportinfo.cpp
- M src/serialport/qserialportinfo.h
- M src/serialport/qserialportinfo_freebsd.cpp
- M src/serialport/qserialportinfo_osx.cpp
- M src/serialport/qserialportinfo_p.h
- M src/serialport/qserialportinfo_unix.cpp
- M src/serialport/qserialportinfo_win.cpp
- M src/serialport/qtudev_p.h
- M src/serialport/qwinoverlappedionotifier.cpp
- M src/serialport/qwinoverlappedionotifier_p.h
- M src/serialport/removed_api.cpp