]> granicus.if.org Git - openssl/commit
Fix crash as a result of MULTIBLOCK
authorMatt Caswell <matt@openssl.org>
Mon, 25 Jul 2016 09:36:57 +0000 (10:36 +0100)
committerMatt Caswell <matt@openssl.org>
Sat, 30 Jul 2016 10:46:20 +0000 (11:46 +0100)
commit58c27c207ddf0f8bf20c18e1298831e7b7381b02
tree5710a8319c223498fc4eba0066536dadaeac7bea
parent0fae81501a80fae6e96942f8d766daf4c61defc7
Fix crash as a result of MULTIBLOCK

The MULTIBLOCK code uses a "jumbo" sized write buffer which it allocates
and then frees later. Pipelining however introduced multiple pipelines. It
keeps track of how many pipelines are initialised using numwpipes.
Unfortunately the MULTIBLOCK code was not updating this when in deallocated
its buffers, leading to a buffer being marked as initialised but set to
NULL.

RT#4618

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/record/rec_layer_s3.c
ssl/record/record_locl.h
ssl/record/ssl3_buffer.c