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.96) (envelope-from ) id 1w0whP-002LhP-11 for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Mar 2026 07:12:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w0whN-002Azx-28 for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Mar 2026 07:12:42 +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.96) (envelope-from ) id 1w0whM-002Azf-2T for pgsql-bugs@lists.postgresql.org; Fri, 13 Mar 2026 07:12:41 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w0whK-00000002QJp-2p1c for pgsql-bugs@lists.postgresql.org; Fri, 13 Mar 2026 07:12:40 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 83DB07A00DE; Fri, 13 Mar 2026 03:12:36 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Fri, 13 Mar 2026 03:12:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1773385956; x=1773472356; bh=e5HrSuyNOp CIEu/pNZZ0GTs48yX5wS9C/fh0B2QAXGI=; b=pK0W+6pjr/GqvHPgiIk8fwWZRC 0nq0rJBxTTBAAS9izRViZZCgvbiFn0BIC7g1g5UBWbb1suSyPrxkOQnCzeW5RVgn 9RRr+aBbL1IzU1h65tU8IfEXM8I1HgcV1Z9WAP5J0dBT1W86WPQ/hgl2zl1dNEAY zUTahn59NvM1XKckcP2/zOfDonVyIxHr25nXS5eqlDVRzJnfYuZYHTrM8pjd2fse fxg/hgVi95rHmtrpMsndAURQbHy7ts8icXGAHWrtMYPW5+BqQAHa/NeMfxX1gUyp 7hpjumILzsWCRZiLeEjj47xitQIb6LXVaxMMhlFprM2nDtKfpd6BLPzysNEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1773385956; x=1773472356; bh=e5HrSuyNOpCIEu/pNZZ0GTs48yX5wS9C/fh 0B2QAXGI=; b=Bnh4TdONq25XLykg6wt7UdjEMtMi/vRNroUqtZz4hKEotn3L69R F3JNzcMDUErIXORuTduDTCR9CZZq82i+23VS1mUczFHSgiOPEvtCMSi+EAlzj8jH EryGNmlIns5F+OeclNBpIpMUf8xopQ8N+pXS06i8g/Yk6zfSNzrlDU5Ym3pFlwNM YcfIesrOPdUnwoLWjWYo1MgqkjjpqpddNGPiIxUV8+J8w+f5A2D0zyGJ0Z91fc09 Ns2Bxc+jV48uWgVskWofNw8D4wyT1DTFnj9VZWvNqTiS5drGKSAlDhdP18TYLka0 ohYCzhPN9Y5YRRvff3hzoAwOxW9K49aEBVA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvkeeltdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvgigtg hluhhsihhonhesghhmrghilhdrtghomhdprhgtphhtthhopegttggrheehtdejsehqqhdr tghomhdprhgtphhtthhopehjihhmrdhjohhnvghssehunhhiqdhmuhgvnhhsthgvrhdrug gvpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtthhopehp ghhsqhhlqdgsuhhgsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpth htohepmhgrrhgrlhhishhtkeeisehmrghilhdrrhhu X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Mar 2026 03:12:34 -0400 (EDT) Date: Fri, 13 Mar 2026 16:12:28 +0900 From: Michael Paquier To: Alexander Lakhin Cc: cca5507 , Jim Jones , Tom Lane , pgsql-bugs , maralist86 Subject: Re: BUG #18943: Return value of a function 'xmlBufferCreate' isdereferenced at xpath.c:177 without checking for NUL Message-ID: References: <31f3480e-cd7d-4021-b392-87922572cc37@uni-muenster.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KU+Kx4Ft4HMWVy9p" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --KU+Kx4Ft4HMWVy9p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 12, 2026 at 03:46:57PM +0900, Michael Paquier wrote: > I am not sure if this is worth backpatching, so let's just use > something like the attached on HEAD. This result cannot be NULL, > historically it has always been an empty string. Looking at the history of the tree, things like 46ab07ffda9d were mentioned as worth a backpatch, so applied down to v14 for this one as well. -- Michael --KU+Kx4Ft4HMWVy9p Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmzuNwACgkQnvQgOdby QH3l0A//b1gG0drj3vYEwpOUnFB7q7y8EFyrr4HYcFMA+5c5ON57IZSfGgmm0fty wjxMrgvTfMId02SCgw2DM6+kClawG1iBZJaefOh4w6LtGBUJRE4St5YeC0BsO834 tVXknotEL9OjmYFNEtUtJPxrsHwCOy8N+s6UMjPtZdTXnt1xNJjJnkQ1x1P3Cqhj XVYtnEPNYzJswtFkppcz8V0t3AGArgT3OxkmCCK8I74O67p1YdeLldzDyXM6xEuh Y74TSRspchYGmjzUqPOeoTxQSlSC4l34ocXWyk7paS8PIZg9Om1Yq/FfyhVH90Ra 9ObgJFqnjEvMGTOBXfxSo1AwAzDgtMpfnk0anCDDIhrH1EMsnzkz1JtBOwyQMUmL SO/mq1DXwJB0hBCVsJB0PYVWMLNiBEtY2xn4bXsujt/cKPhdBZoVJIwBFpy7dGPT bkO0IwfwXF2IAaNkis0trceCnzYluxIcyYuHE+SdmMSFgXqeC6dTCf85KyD9iLF9 v8wVt7j5lR4ZBIr2Bl8GZGJ4Ff801agI7CtopCIKl/v7Lf7uGYon4IklOvm5henK Q8qxt+5rAg+RZmtwwdDd8bawJNeKOgLAIZpaa6LXgCCivuzqz12gJ8b8H1lvSQ96 zFJ9Sv87E0uveCa3pjFpow1gpV+8ccu5FFZYYW8eICkZ/9gmZQ4= =Q+7P -----END PGP SIGNATURE----- --KU+Kx4Ft4HMWVy9p--