summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/llabs.c
diff options
context:
space:
mode:
authortb <>2024-08-03 04:50:27 +0000
committertb <>2024-08-03 04:50:27 +0000
commit7ffee9d08a91191b5a4fb21336efef092b583c3e (patch)
treeab072a8587850bb026552dec2888fdf2051ad344 /src/lib/libc/stdlib/llabs.c
parentbb27421ed2f49cdd9bf2ec374d8a42ff058d63a8 (diff)
downloadopenbsd-7ffee9d08a91191b5a4fb21336efef092b583c3e.tar.gz
openbsd-7ffee9d08a91191b5a4fb21336efef092b583c3e.tar.bz2
openbsd-7ffee9d08a91191b5a4fb21336efef092b583c3e.zip
Prepare to provide SSL_CTX_set1_cert_store()
SSL_CTX_set_cert_store() should have been called SSL_CTX_set0_cert_store() since it takes ownership of the store argument. Apparently a few people ran into the issue of not bumping the refcount themselves, leading to use after frees about 10 years ago. This is a quite rarely used API and there are no misuses in the ports tree, but since someone did the work of writing a diff, we can still add it. Needless to say that SSL_CTX_get_cert_store() obviously has the exact same issue and nobody seems to have thought of adding a get0 or get1 version to match... Fixes https://github.com/libressl/openbsd/issues/71 From Kenjiro Nakayama
Diffstat (limited to 'src/lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions