openssl/ssl
Matt Caswell 3f640ebd03 Avoid a mem leak on error
An internal error path could result in a memory leak. Also remove some redundant
code.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3003)
2017-03-21 09:53:02 +00:00
..
Makefile Add basic test for Cisco DTLS1_BAD_VER and record replay handling 2016-08-26 13:44:11 +01:00
bad_dtls_test.c Solution proposal for issue #1647. 2016-11-12 22:22:21 -05:00
bio_ssl.c Handle SSL_ERROR_WANT_X509_LOOKUP 2015-09-20 14:21:18 +01:00
clienthellotest.c GH354: Memory leak fixes 2015-08-28 11:59:23 -04:00
d1_both.c Fix DTLSv1_listen() sequence numbers 2017-03-13 13:08:01 +00:00
d1_clnt.c Fix issue #2113: 2017-02-09 14:19:36 +01:00
d1_lib.c Fix DTLS buffered message DoS attack 2016-08-22 10:59:41 +01:00
d1_meth.c Ensure the dtls1_get_*_methods work with DTLS_ANY_VERSION 2015-11-04 14:46:03 +00:00
d1_pkt.c Don't allow too many consecutive warning alerts 2016-09-21 20:14:16 +01:00
d1_srtp.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
d1_srvr.c Fix DTLSv1_listen() sequence numbers 2017-03-13 13:08:01 +00:00
dtls1.h Fix d2i_SSL_SESSION for DTLS1_BAD_VER 2015-02-27 20:31:28 +00:00
dtlstest.c Fix no-ec 2016-08-24 09:23:14 +01:00
heartbeat_test.c Revert "Fix heartbeat_test" 2016-11-29 09:54:58 +00:00
install-ssl.com Don't forget to install srtp.h as well 2012-05-10 15:01:26 +00:00
kssl.c Remove the "eay" c-file-style indicators 2015-12-18 13:39:34 +01:00
kssl.h Remove the "eay" c-file-style indicators 2015-12-18 13:39:34 +01:00
kssl_lcl.h Remove the "eay" c-file-style indicators 2015-12-18 13:39:34 +01:00
s2_clnt.c Change usage of RAND_pseudo_bytes to RAND_bytes 2016-06-27 15:00:08 +01:00
s2_enc.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
s2_lib.c Degrade 3DES to MEDIUM in SSL2 2016-10-14 11:31:18 -04:00
s2_meth.c Add no-ssl2-method 2016-03-14 21:13:59 +01:00
s2_pkt.c Make SSL_read and SSL_write return the old behaviour and document it. 2016-11-21 22:00:43 +01:00
s2_srvr.c Change usage of RAND_pseudo_bytes to RAND_bytes 2016-06-27 15:00:08 +01:00
s3_both.c Make message buffer slightly larger than message. 2016-09-21 19:56:05 +01:00
s3_cbc.c Good hygiene with size_t output argument. 2015-11-21 05:23:20 -05:00
s3_clnt.c Fix issue #2113: 2017-02-09 14:19:36 +01:00
s3_enc.c Fix issue #2113: 2017-02-09 14:19:36 +01:00
s3_lib.c Use correct signature algorithm list when sending or checking. 2017-01-26 17:56:31 +00:00
s3_meth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
s3_pkt.c Combined patch for the more or less obvious issues 2017-02-06 16:06:39 -05:00
s3_srvr.c Avoid a mem leak on error 2017-03-21 09:53:02 +00:00
s23_clnt.c Fix issue #2113: 2017-02-09 14:19:36 +01:00
s23_lib.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
s23_meth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
s23_pkt.c Make SSL_read and SSL_write return the old behaviour and document it. 2016-11-21 22:00:43 +01:00
s23_srvr.c Fix issue #2113: 2017-02-09 14:19:36 +01:00
srtp.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl-lib.com VMS: Use strict refdef extern model when building library object files 2016-08-22 15:50:28 +02:00
ssl.h Don't allow too many consecutive warning alerts 2016-09-21 20:14:16 +01:00
ssl2.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl3.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl23.h Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl_algs.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl_asn1.c Fix memory leak on error. 2016-09-15 12:49:00 +01:00
ssl_cert.c Combined patch for the more or less obvious issues 2017-02-06 16:06:39 -05:00
ssl_ciph.c Restore the test coverage of COMP_rle and SSL_COMP_add_compression_method 2017-02-24 11:22:40 +01:00
ssl_conf.c Disable SSLv2 default build, default negotiation and weak ciphers. 2016-03-01 11:20:10 +00:00
ssl_err.c Add missing error string for SSL_R_TOO_MANY_WARN_ALERTS 2016-10-11 19:22:28 +01:00
ssl_err2.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl_lib.c Don't read uninitialised data for short session IDs. 2017-02-13 11:47:13 +01:00
ssl_locl.h Fix issue #2113: 2017-02-09 14:19:36 +01:00
ssl_rsa.c Revert "Use the callbacks from the SSL object instead of the SSL_CTX object" 2017-03-11 11:19:20 +01:00
ssl_sess.c Prevent undefined behavior in memcpy call. 2017-03-08 09:55:39 -05:00
ssl_stat.c Add Error state 2015-05-05 19:50:12 +01:00
ssl_task.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ssl_txt.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssl_utst.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ssltest.c Fix session ticket and SNI 2017-02-08 11:35:41 +00:00
sslv2conftest.c Silence some "maybe used uninitialised" warnings 2016-08-22 09:25:12 +01:00
t1_clnt.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
t1_enc.c Fix a double free in tls1_setup_key_block 2016-05-19 20:55:55 +01:00
t1_ext.c Fix some realloc error handling issues. 2017-02-15 08:44:05 -05:00
t1_lib.c Avoid questionable use of the value of a pointer 2017-03-10 15:57:59 -05:00
t1_meth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
t1_reneg.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
t1_srvr.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
t1_trce.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
tls1.h Fix references to various RFCs 2015-10-23 20:32:58 +02:00
tls_srp.c Code style: space after 'if' 2015-04-16 13:50:01 -04:00