summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQualys Security Advisory <qsa@qualys.com>2021-02-21 19:05:56 -0800
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-05-27 21:30:45 +0200
commit6649a4305126a4baa48d4c5b07568a519939fb17 (patch)
tree05a0b2e40dc71224974843ca56435265bf30d590 /src
parent8761187029d998a942eaa1c0cc26592f52245446 (diff)
CVE-2020-28018: Use-after-free in tls-openssl.c
(cherry picked from commit 6290686dd59d8158d100c67e8f96df27158a6fc5) (cherry picked from commit a53a7fcfb8216764e4420d8d263356b4ed7d5cef)
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 13b0c232f..eb18d64d3 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -4053,16 +4053,12 @@ if (more || corked)
{
if (!len) buff = US &error; /* dummy just so that string_catn is ok */
-#ifndef DISABLE_PIPE_CONNECT
int save_pool = store_pool;
store_pool = POOL_PERM;
-#endif
corked = string_catn(corked, buff, len);
-#ifndef DISABLE_PIPE_CONNECT
store_pool = save_pool;
-#endif
if (more)
{