CVE-2020-28018: Use-after-free in tls-openssl.c
authorQualys Security Advisory <qsa@qualys.com>
Mon, 22 Feb 2021 03:05:56 +0000 (19:05 -0800)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Thu, 27 May 2021 19:30:45 +0000 (21:30 +0200)
(cherry picked from commit 6290686dd59d8158d100c67e8f96df27158a6fc5)
(cherry picked from commit a53a7fcfb8216764e4420d8d263356b4ed7d5cef)

src/src/tls-openssl.c

index 13b0c232f0e9ac263343882c9e4a8a21c79c2ccd..eb18d64d3ed32575d5c176ca5f15e9e735dbb37b 100644 (file)
@@ -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)
     {