path: root/tests
diff options
authorTimur Pocheptsov <>2021-02-26 12:11:03 +0100
committerQt Cherry-pick Bot <>2021-03-02 18:03:54 +0000
commitd316ae8e830b8b86f81307d35583f20773da6a55 (patch)
tree2cebb0be300b22986216ae73b42b6ca296bfdda3 /tests
parent79138e41d6bf9ca60056a5c7fe0f35f3b67a9237 (diff)
QSsl: fix UB pointer use
Weird macro had inverted notion of type safety: instead of casting parameters and return values (they are pointers) to work with generic OPENSSL_sk_xxx functions, it was ... casting a function pointer to an invalid type to get ... nothing, but UB. Home-brewed (un)'safestack'!!! Change-Id: Ib91a7ba4cd472f370836797e422456f91a4385b0 Reviewed-by: MÃ¥rten Nordheim <> Reviewed-by: Edward Welbourne <> (cherry picked from commit 9fc2f1f076b953ff0979fb73ed6e70ac9bde278c) Reviewed-by: Qt Cherry-pick Bot <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions