]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix ubsan errors in OPENSSL_sk_pop_free
authorNeil Horman <nhorman@openssl.org>
Tue, 20 Jan 2026 19:49:57 +0000 (14:49 -0500)
committerNeil Horman <nhorman@openssl.org>
Tue, 27 Jan 2026 17:25:21 +0000 (12:25 -0500)
commit1ef3cd84b6a6f3d1dfc6b01e2768d14b4abf8e4e
treeef386c2d514de56c69db0f5936133bfab9534b4f
parent2c13bf15286328641a805eb3b7c97e27d42881fb
Fix ubsan errors in OPENSSL_sk_pop_free

ubsan reports an error in the free callback function for
OPENSSL_sk_pop_free.

Need to add a thunking shim to cast the pointer data types to their
proper types

Fixes #29616

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Tue Jan 27 17:25:34 2026
(Merged from https://github.com/openssl/openssl/pull/29690)
include/openssl/safestack.h.in
util/perl/OpenSSL/stackhash.pm