summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorlteo <>2015-01-13 03:42:36 +0000
committerlteo <>2015-01-13 03:42:36 +0000
commit75435651a50b36d1e85f4eb4bd3df1f842912952 (patch)
tree6b562bb609f14f9bc9cc3957ac90c89fd7af742b /src/lib/libc
parent707bceb580955f7866f1d89a76676269505ea501 (diff)
downloadopenbsd-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')
0 files changed, 0 insertions, 0 deletions