kdf: avoid NULL dereference on malloc failure in sshkdf
authorPauli <pauli@openssl.org>
Thu, 31 Mar 2022 21:06:17 +0000 (08:06 +1100)
committerPauli <pauli@openssl.org>
Sun, 10 Apr 2022 23:53:34 +0000 (09:53 +1000)
commit148176ca323e3dfce5d5cdb5578c113c8d2440bb
treec961957e44d022111e623bef099d392ee8b65f30
parenteb27a90e41a62d3337c5e21e24ee72f1e49a445c
kdf: avoid NULL dereference on malloc failure in sshkdf

Fixes #18009

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/18011)
providers/implementations/kdfs/sshkdf.c