summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2017-06-09 16:08:40 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2017-06-13 04:33:54 +0000
commit96955dbe10b9b67330cc72fc9a2e016a5d7c4a82 (patch)
tree2002f6b8a93c6a6d512dd42cdfd2bf5b0de06b66 /.gitignore
parent26fd805f500acfdcf730f2488a66e18c72d0ff9a (diff)
qsslsocket_mac - check that SecCertificateRef is not null
That's the only place there we can potentially pass a null pointer to CFArrayAppendValue (all other calls are conditionally-protected). This results in (surprise! ... ?) Objective-C exception (while we call something that is a pure-C API). So far we cannot reproduce this crash and can only speculate: probably this happens with invalid (can be either really invalid or the result of our generic QSslCertificate's failure to read/ parse)) custom CA certificates appended to a QSslConfiguration object by applications using QSslSocket/QNAM. The fix will probably make a handshake to fail, but this seems to be better than a crash anyway. Task-number: QTBUG-58213 Change-Id: Ie4f9ab2138bc383adc9f9ed55ed61be2d3cf7020 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions