qt6-bb10/src/plugins
Tim Jenssen 91fe6fb2e1 Schannel: Avoid crashing for unparsed certificate
Crash reports imply the `certBackend` we extract in
QSslCertificate_from_CERT_CONTEXT is null, which means that
something went wrong when parsing the certificate data we get from
the certificate chain.
We assume the rest is okay since it must be inside the bounds of the
length of the chain.

It's not clear why the certificate would be invalid, but it's better
to avoid the crash for now.

Pick-to: 6.5 6.6
Task-number: QTBUG-118569
Change-Id: I76ce07fc38bf82ef5c93097d839724ddee1edeef
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-11-03 23:30:16 +01:00
..
doc/snippets/code Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
generic Rid of 'special case' markers 2023-04-13 18:30:58 +02:00
imageformats Fix transparency in 16 bit and 24 bit ico files 2023-07-11 18:35:41 +00:00
networkinformation QNetworkInfo[NetworkManager]: Fix double-lookup 2023-10-17 21:23:41 +02:00
platforminputcontexts IBus: fix missing Q_SLOTS 2023-04-05 01:27:47 +04:00
platforms Introduce dark mode to QWindows11Style 2023-11-03 18:27:13 +01:00
platformthemes QGtk3Theme: define light, midlight, mid, dark and shadow colors 2023-10-19 20:21:51 +02:00
printsupport Fix build with -no-feature-lineedit 2023-03-04 09:45:21 +00:00
sqldrivers Fix datatype mappings for the Mimer SQL QtSql plugin 2023-10-25 23:01:56 +02:00
styles Introduce dark mode to QWindows11Style 2023-11-03 18:27:13 +01:00
tls Schannel: Avoid crashing for unparsed certificate 2023-11-03 23:30:16 +01:00
tracing Fix CTF with Integrity 2023-10-30 18:59:21 +03:00
CMakeLists.txt Fix CTF with static build 2023-10-30 18:59:21 +03:00