diff options
author | lteo <> | 2015-01-13 03:42:36 +0000 |
---|---|---|
committer | lteo <> | 2015-01-13 03:42:36 +0000 |
commit | 795d83c9c4201d149823ca18860fac61d5dc8b57 (patch) | |
tree | 6b562bb609f14f9bc9cc3957ac90c89fd7af742b /src/lib/libc/stdlib/strtoull.c | |
parent | d8fbc422dcf8766c771862d297d34685d1e22165 (diff) | |
download | openbsd-795d83c9c4201d149823ca18860fac61d5dc8b57.tar.gz openbsd-795d83c9c4201d149823ca18860fac61d5dc8b57.tar.bz2 openbsd-795d83c9c4201d149823ca18860fac61d5dc8b57.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/stdlib/strtoull.c')
0 files changed, 0 insertions, 0 deletions