diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-05-22 13:43:44 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-05-23 01:36:54 +0200 |
| commit | 6d28744e43c113b0f94b2132d5904d85a18d81a3 (patch) | |
| tree | e10e9320f94ecac2fc9d4889a7c34723f41ff573 /src/network/kernel/qnetworkinterface_unix.cpp | |
| parent | 564be117fece258f661a20e5c81166fa658f5e84 (diff) | |
tst_QByteArrayView: (re)fix GCC ubsan build
Move the constexpr fromArray() check from fromArray() to constExpr()
where there is already the protection necessary to work around
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962.
Amends bbe7570ddcc6fcce707a355b76d2d0024c44ea38(!).
(iow: 6.0, and no, I don't know why it became a problem only now)
Pick-to: 6.7 6.5 6.2
Change-Id: Id9d2a08175709f8bf85b3b192e7aa49783b9e714
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/kernel/qnetworkinterface_unix.cpp')
0 files changed, 0 insertions, 0 deletions
