Transfer ownership before setting unused bits
authortb <tb@openbsd.org>
Wed, 17 Apr 2024 13:50:01 +0000 (13:50 +0000)
committertb <tb@openbsd.org>
Wed, 17 Apr 2024 13:50:01 +0000 (13:50 +0000)
commit368f6dfa92efa3adb6e9e4f4d60b3703220c4045
treeff0a9c5b43f2385c5243385e83814f0620191cf8
parent8282b27eab848cfa90996517156dd48531610a7d
Transfer ownership before setting unused bits

This looks like a use after free, but setting the unused bits to 0
can't actually fail.

ok jsing
lib/libcrypto/ec/ec_ameth.c