openssl/ssl
Matt Caswell 8ccde3fc78 Fix read pipelining
During read pipelining we must ensure that the buffer is sufficiently large
to read enough data to fill our pipelines. We also remove some code that
moved data to the start of the packet if we can. This was unnecessary
because of later code which would end up moving it anyway. The earlier move
was also incorrect in the case that |clearold| was 0. This would cause the
read pipelining code to fail with sufficiently large records.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19456)
2022-11-02 11:11:40 +01:00
..
quic Fix 32-bit Windows issues related to QUIC Wire functions 2022-10-25 13:25:00 +02:00
record Fix read pipelining 2022-11-02 11:11:40 +01:00
statem stack: Do not add error if pop/shift/value accesses outside of the stack 2022-10-21 18:02:35 +02:00
bio_ssl.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
build.info Add support for compressed certificates (RFC8879) 2022-10-18 09:30:22 -04:00
d1_lib.c Fix coverity 1516101 deadcode 2022-10-24 09:51:00 +11:00
d1_msg.c Remove create_empty_fragment from do_dtls1_write() 2022-10-20 14:39:32 +01:00
d1_srtp.c
event_queue.c
methods.c
pqueue.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
priority_queue.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
s3_enc.c Remove enc_write_state 2022-10-12 15:53:31 +01:00
s3_lib.c Remove some redundant code 2022-10-20 14:39:33 +01:00
s3_msg.c Convert the write record layer to supply proper return values 2022-09-23 14:54:49 +01:00
ssl_asn1.c ssl: modify libssl so that it uses OSSL_TIME 2022-09-13 21:13:22 +10:00
ssl_cert_comp.c Add for_comp flag when retrieving certs for compression 2022-10-18 09:30:22 -04:00
ssl_cert_table.h
ssl_cert.c Add support for compressed certificates (RFC8879) 2022-10-18 09:30:22 -04:00
ssl_ciph.c ssl_cipher_process_rulestr: don't read outside rule_str buffer 2022-10-26 12:46:53 +02:00
ssl_conf.c Add support for compressed certificates (RFC8879) 2022-10-18 09:30:22 -04:00
ssl_err_legacy.c
ssl_err.c Consolidate sequence counter incrementing code 2022-10-20 14:39:33 +01:00
ssl_init.c
ssl_lib.c Make SSL_alloc_buffers() and SSL_free_buffers() work again 2022-10-27 10:52:52 +01:00
ssl_local.h Remove some redundant code 2022-10-20 14:39:33 +01:00
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ssl_sess.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
ssl_stat.c Add support for compressed certificates (RFC8879) 2022-10-18 09:30:22 -04:00
ssl_txt.c ssl: modify libssl so that it uses OSSL_TIME 2022-09-13 21:13:22 +10:00
ssl_utst.c Remove the old buffer management code 2022-10-20 14:39:33 +01:00
sslerr.h
t1_enc.c Remove some TODO(RECLAYER) comments now that DTLS has been moved 2022-10-20 14:39:33 +01:00
t1_lib.c Remove some redundant code 2022-10-20 14:39:33 +01:00
t1_trce.c Fix coverity 1516093 tainted scalar 2022-10-21 10:33:40 +11:00
tls13_enc.c Remove enc_write_state 2022-10-12 15:53:31 +01:00
tls_depr.c
tls_srp.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00