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>
Submitted by: "Paul Smedley" <pauldespam@despamsmedley.id.au> Approved by: steve@openssl.org OS/2 fixes (excludes Makefile.shared patch for now).
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>