Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6px3-0023Rj-Vo for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 11:04:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s6px3-00D3gC-PP for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 11:04:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6px3-00D3fu-FO for pgsql-hackers@lists.postgresql.org; Tue, 14 May 2024 11:04:09 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s6pwz-000BEE-E8 for pgsql-hackers@postgresql.org; Tue, 14 May 2024 11:04:08 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a59cc765c29so1455666b.3 for ; Tue, 14 May 2024 04:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715684645; x=1716289445; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RoTGBNHZ9VtOPA3ZI0T14Zg506hizjQcCjmG8eZoc5k=; b=E38Ssa4JNLi88b4Ts2Jy4WbkkNuXqLw9vE68I3IA6n0BiqotpH87nnyln7q25Hfq1i yYpUT+vlzxfj1C7aWNlPWNaXjV0MriHxMLIBVPLBKyOcLzngKD9eAxNW4tCTewyS43+f KLhYJYqeCg/wErnf4+792UKEe+/OmpbascITCZ/bgFPchN00jal8WSI+9Xtt5ed0QAPP L06qdK9pphVyPz72k5Z/d2pwRkvgwoPMXT4Qtq8XCg5+Mcw6g3RRgaL3uTbzLmG0IBbl uiG40U8f0/x5aZdod3B24zcDNXW+J1g/bRr3VDNUWBeOCbuGK9CRknDh4ezFW/XG2Aow x9lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715684645; x=1716289445; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RoTGBNHZ9VtOPA3ZI0T14Zg506hizjQcCjmG8eZoc5k=; b=C34WQx2EP21OmRK5ad19PROVLnd4p9+J6Jv24nrzLsD/CjNQDULWYRQMOA1/Ul+YHp lHYY5ET9XXrEwnfAKu4G1LdrrJU4RuddP/MgqLSH5nRYkRwu4NPyLuljtGVUSN35jtyq TW0+ugE/I4DGbfeCA38v2ooSNmwsIOqourcg1OoLl4n6yNQNfRBKDf2x+vk0ysiEV1KP kIMpoGvzr8XiHEkYiMn7iGE5UZ9fZpufo2nZ8cMWO7wnScOAD7fUMF6aEBA2/rPsgBez owyM5Azk6K6vrFo/IqU6Oa+KVCAlFLzqTUNWHqfmq6Nh2m/SBHvPYV4eMajGTGR1GaSn /9Eg== X-Forwarded-Encrypted: i=1; AJvYcCXH809DZ7ti43wig5f041Q+yseIdGKyBHcpDat/2RHY2fZ6vtlQpJg+YiaYGwXd7XEF6eSb43wi377TomE9T/xRUvaYLKmjQdn1VRGv X-Gm-Message-State: AOJu0Yz33jG8019DL8g4g+DSFP2SlaF88PbZF8KBg6UrQwhk+x/qAlAd Q0R/jzU0m/Q1LfHJ37xTFg3eFOqd8gbCIYJfy/GoFmlL0l5dbFIUf56squ7ExfJhLhiTjc7XiTc FbYRPbp1PdCRIDlauJ+SLsxALrJo= X-Google-Smtp-Source: AGHT+IEGOkJoL+LE/eBfMZFFmgGda2h6A9ayU7apEq04AogVYI5s9rNFM4stzYXAbbNzG4tzOhMSIJwbKZ9VNV7qr6w= X-Received: by 2002:a17:906:1193:b0:a5a:6c87:7f5f with SMTP id a640c23a62f3a-a5a6c877fc3mr329030866b.20.1715684644924; Tue, 14 May 2024 04:04:04 -0700 (PDT) MIME-Version: 1.0 References: <88E977CA-5951-4D51-B594-489ACF3DA10C@yesql.se> <160D403D-9DD8-42E8-AD26-7261DC243156@yesql.se> In-Reply-To: <160D403D-9DD8-42E8-AD26-7261DC243156@yesql.se> From: Ranier Vilela Date: Tue, 14 May 2024 08:03:57 -0300 Message-ID: Subject: Re: Fix resource leak (src/backend/libpq/be-secure-common.c) To: Daniel Gustafsson Cc: Michael Paquier , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="000000000000ceb4c2061867f5a1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ceb4c2061867f5a1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em ter., 14 de mai. de 2024 =C3=A0s 07:21, Daniel Gustafsson escreveu: > > On 14 May 2024, at 08:03, Michael Paquier wrote: > > > > On Mon, May 13, 2024 at 08:06:57PM +0200, Daniel Gustafsson wrote: > >>> Any chance we'll have these fixes in v17? > >> > >> Nice timing, I was actually rebasing them today to get them committed. > > > > Looks sensible seen from here, as these paths could use a LOG or rely > > on a memory context permanent to the backend causing junk to be > > accumulated. It's not that much, still that would accumulate. > > Pushed. > Thanks Daniel. best regards, Ranier Vilela --000000000000ceb4c2061867f5a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em ter., 14 de mai. de 2024 =C3=A0s 07:21, Daniel Gustafsson <daniel@yesql.se> escreveu:
=
> On 14 May 2024, at 0= 8:03, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Mon, May 13, 2024 at 08:06:57PM +0200, Daniel Gustafsson wrote:
>>> Any chance we'll have these fixes in v17?
>>
>> Nice timing, I was actually rebasing them today to get them commit= ted.
>
> Looks sensible seen from here, as these paths could use a LOG or rely<= br> > on a memory context permanent to the backend causing junk to be
> accumulated.=C2=A0 It's not that much, still that would accumulate= .

Pushed.
Thanks Daniel.

best r= egards,
Ranier Vilela
--000000000000ceb4c2061867f5a1--