diff options
author | lteo <> | 2015-01-13 03:42:36 +0000 |
---|---|---|
committer | lteo <> | 2015-01-13 03:42:36 +0000 |
commit | 75435651a50b36d1e85f4eb4bd3df1f842912952 (patch) | |
tree | 6b562bb609f14f9bc9cc3957ac90c89fd7af742b /src/lib/libc/string | |
parent | 707bceb580955f7866f1d89a76676269505ea501 (diff) | |
download | openbsd-75435651a50b36d1e85f4eb4bd3df1f842912952.tar.gz openbsd-75435651a50b36d1e85f4eb4bd3df1f842912952.tar.bz2 openbsd-75435651a50b36d1e85f4eb4bd3df1f842912952.zip |
Implement more thorough error checks:
- Check the return value of every relevant function call.
- If BIO_new() returns NULL instead of a valid BIO, do not attempt to
blindly use the NULL value as a BIO throughout the rest of the code.
- Ensure that bio_out is freed by BIO_free_all() at the end of all
error paths.
ok doug@
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions