Reviewed-by: Matt Caswell <gitlab@openssl.org>
Miscellaneous unchecked malloc fixes. Also fixed some mem leaks on error paths as I spotted them along the way. Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 918bb86529) Conflicts: crypto/bio/bss_dgram.c
918bb86529
Reviewed-by: Tim Hudson <tjh@openssl.org>