]> arthur.barton.de Git - ngircd-alex.git/commit
TLS/SSL: fix memory leak when using compressed server links with ssl
authorFlorian Westphal <fw@strlen.de>
Wed, 4 Feb 2009 22:01:53 +0000 (23:01 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 4 Feb 2009 22:01:53 +0000 (23:01 +0100)
commitc6a43fbaf0579741ebf34e88ca7f0586b471062e
treee06983f0b501f096688f3c1241573473a9ec88bf
parent3be9c477be674228c86378e017a70bf49acf06a4
TLS/SSL: fix memory leak when using compressed server links with ssl

commit 6bc2d3d06e9cb4da68ea4b63d9b6b219d88ab927
(New connection option CONN_RFC1459) forgot to adjust the ssl bitmasks.

The result is that when a compressed AND encrypted server link goes down
the memory allocated by zlib and the r/w buffers are no longer
free'd as the previous ConnSSL_Free() would then also remove the CONN_ZIP flag
from the flag mask.
src/ngircd/conn.h