summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-03-02 19:45:04 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-03-17 00:41:33 +0100
commit96dc4acb235f13a72bef7c719d005846fe1d9726 (patch)
treea155d559e276d9878755f9c3cb9f5133a2dcb06e /src/corelib/io/qprocess.cpp
parente80fc16ceccd45f862a5b9d728a52cab60c4380b (diff)
QCryptographicHash: check addData() with null QByteArrayView
When this code was using QByteArray, whose data() is never nullptr, the strings presented to the underlying C APIs were always valid NTSs (nullptr is not a valid NTS). With QByteArrayView, or with QT5_NULL_STRINGS != 1, this is no longer the case. Check that all implementations are fine with that. Pick-to: 6.5 6.4 Change-Id: I78251288a4784440af4a2daf095aed7c53867287 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
0 files changed, 0 insertions, 0 deletions