boringssl/ssl
David Benjamin c35fb014d9 Fix more memory leaks on malloc failure.
Caught by malloc valgrind tests on Basic-Client-Sync. Also one by inspection
and verified with valgrind. Those should pass now with the exception of
CRYPTO_free_ex_data being internally implemented with malloc.

(Clearly we next should make our malloc tests assert that the containing
function fails to catch when we fail to check for some error and things
silently move one.)

Change-Id: I56c51dc8a32a7d3c7ac907d54015dc241728c761
Reviewed-on: https://boringssl-review.googlesource.com/3440
Reviewed-by: Adam Langley <agl@google.com>
2015-02-13 18:43:01 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Fix memory leak on malloc failure. 2015-02-10 01:23:34 +00:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
d1_both.c Simplify DTLS epoch rewind. 2015-02-03 20:34:06 +00:00
d1_clnt.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
d1_lib.c Remove dtls1_timeout_st. 2015-02-03 00:41:07 +00:00
d1_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
d1_pkt.c Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
d1_srtp.c Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
d1_srvr.c Remove NETSCAPE_HANG_BUG. 2015-02-03 00:41:15 +00:00
s3_both.c Touch up ssl3_get_message. 2014-12-17 00:16:23 +00:00
s3_clnt.c Fix more memory leaks on malloc failure. 2015-02-13 18:43:01 +00:00
s3_enc.c Fix some function parameters in OPENSSL_PUT_ERROR. 2015-02-11 18:43:56 +00:00
s3_lib.c Add SSL_CIPHER_get_rfc_name. 2015-02-09 17:31:28 -08:00
s3_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
s3_pkt.c Revise SSL_cutthrough_complete and SSL_in_init. 2015-02-09 20:00:43 +00:00
s3_srvr.c Fix more memory leaks on malloc failure. 2015-02-13 18:43:01 +00:00
ssl_algs.c Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
ssl_asn1.c Remove SSL_SESSION::cipher_id. 2015-01-14 21:10:55 +00:00
ssl_cert.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
ssl_ciph.c Add SSL_CIPHER_get_rfc_name. 2015-02-09 17:31:28 -08:00
ssl_lib.c Don't lock anything in SSL_set_generate_session_id. 2015-02-10 01:24:12 +00:00
ssl_locl.h Set rwstate inside ssl3_get_client_hello. 2015-02-10 01:13:56 +00:00
ssl_rsa.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00
ssl_sess.c Implement SSL_get1_session with SSL_SESSION_up_ref. 2015-02-09 23:35:25 +00:00
ssl_stat.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00
ssl_test.c Fix standalone build on Win64. 2015-02-11 23:13:52 +00:00
ssl_txt.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
t1_enc.c Simplify DTLS epoch rewind. 2015-02-03 20:34:06 +00:00
t1_lib.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
t1_reneg.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00