diff options
author | jsing <> | 2014-12-10 15:43:31 +0000 |
---|---|---|
committer | jsing <> | 2014-12-10 15:43:31 +0000 |
commit | dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc (patch) | |
tree | 626ac5debee47cd4bf6f23ff35253234be5bbe4d /src/lib/libc/string/strndup.c | |
parent | 091bf547974906c9be5137a27f2db864521aaa69 (diff) | |
download | openbsd-dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc.tar.gz openbsd-dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc.tar.bz2 openbsd-dab47bb742c4c69e7fbed8b439b68dd68e5a3bcc.zip |
ssl3_init_finished_mac() calls BIO_new() which can fail since it in turn
calls malloc(). Instead of silently continuing on failure, check the return
value of BIO_new() and propagate failure back to the caller for appropriate
handling.
ok bcook@
Diffstat (limited to 'src/lib/libc/string/strndup.c')
0 files changed, 0 insertions, 0 deletions