diff options
author | J Mohan Rao Arisankala <mohan@barracuda.com> | 2016-05-05 23:43:32 +0530 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-09 09:06:06 +0100 |
commit | cb1d435cac2a9a7bd6019f9f23648c8075251109 (patch) | |
tree | 37af32e7b67b0871d5542ac223bddfb66058f936 /include/openssl | |
parent | 5cf14ce074dfd1780ae4c68b2e7f083bfaf47530 (diff) | |
download | openssl-cb1d435cac2a9a7bd6019f9f23648c8075251109.tar.gz |
few missing allocation failure checks and releases on error paths
- Missing checks for allocation failure.
- releasing memory in few missing error paths
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/bio.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 03a6f04c75..f98f6ee11b 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -809,12 +809,12 @@ int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, bio_info_cb *)); /* BEGIN ERROR CODES */ + /* - * The following lines are auto generated by the script mkerr.pl. Any changes - * made after this point may be overwritten when the script is next run. + * Content after this point is generated by util/mkerr.pl + * DO NOT EDIT! */ void ERR_load_BIO_strings(void); - /* Error codes for the BIO functions. */ /* Function codes. */ @@ -822,6 +822,7 @@ void ERR_load_BIO_strings(void); # define BIO_F_ADDR_STRINGS 134 # define BIO_F_BIO_ACCEPT 101 # define BIO_F_BIO_ACCEPT_EX 137 +# define BIO_F_BIO_ADDR_NEW 144 # define BIO_F_BIO_BER_GET_HEADER 102 # define BIO_F_BIO_CALLBACK_CTRL 131 # define BIO_F_BIO_CONNECT 138 |