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)
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>

No differences found