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 1s724I-003DH1-GG for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 00:00:28 +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 1s724H-004q2g-Lj for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 00:00:25 +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 1s724G-004q1n-6P for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 00:00:25 +0000 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s724A-000Gn9-Tc for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 00:00:23 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 90B4C1381061; Tue, 14 May 2024 20:00:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 14 May 2024 20:00:17 -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=fm3; t=1715731217; x=1715817617; bh=TnLwmcmB/E VXVx9F3NpP4D+rVPFrH1qqsO7EpPueiYk=; b=cnCYImEWDCzKDx+vkAdSznI8x4 cDVu0F8vFS3GO8hFGO0JA7pEwnVS+mzzDQix1+JEtqWE4Qkz25PUW8k/r6bG0wl5 hu4ffHnhkl3uUvGDxTDGKC9fiYSWncEC0LQOQW/iHKlQwXoycaFXJcYDmzoJh4Of YNx7A+Ow+E0X/S1lkiZUCL2TRNY/NwSfJB9hM2u2NtEaojB05+Ug4Ut9CjMTlb1s GlUKjiv0iaVUnxaemfaDObzFtzbKfYS2aB12BMmf3jLUW7QupEmWDTeSMAI3fHmr Bc8sbqT3BPcaGhcbigcTalBbKsMYzqObiI1jxid2ADFFU3U37TNAirCBiotw== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1715731217; x=1715817617; bh=TnLwmcmB/EVXVx9F3NpP4D+rVPFr H1qqsO7EpPueiYk=; b=g3dGbLmwYSeUWdDkorQbvMpsE5CrJTPK+j8oAHbdgBJr x/DSikJLWhAtx2IvPvgqDcixUzupZck6IwegOfnaObB4e3LTxtFTnxTA3UmBCak4 4veECjSFhZrTH4F/dw16P9aUse3YrVvTxZ8qXNSEztqnltwE8IgVUA/cgLU3YiDu 4V29olLo5uD1Oo60M2Lriut8xViCegHIeVfn4ipOCJ9A6T4DuNxqFJAnzy5bQR6a VLmyQc+o2EaT65WeIo4lPqesiWtVWQveFphLX9l9fQifEQPwWExM0nLw4Xeg8wRR FZyT6wdoqHLeBucJphe8aEW0rVCp7nhW/RQoRMxinQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegjedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 May 2024 20:00:15 -0400 (EDT) Date: Wed, 15 May 2024 09:00:01 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Alvaro Herrera , pgsql-hackers@lists.postgresql.org, Jacob Champion Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence Message-ID: References: <202405101223.66lahv2qiwe7@alvherre.pgsql> <6dae7e56-5233-4183-bd12-c14cf3c9312e@eisentraut.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LVfZQckWCyRsHO+l" Content-Disposition: inline In-Reply-To: <6dae7e56-5233-4183-bd12-c14cf3c9312e@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --LVfZQckWCyRsHO+l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 14, 2024 at 10:39:36AM +0200, Peter Eisentraut wrote: > I saw the same thing. The problem is that there is incomplete dependency > information in the makefiles (not meson) between src/common/ and what is > using it. So whenever anything changes in src/common/, you pretty much have > to do a forced rebuild of everything. Is that a recent regression? I have some blurry memories from working on these areas that changing src/common/ reflected on the compiled pieces effectively at some point. -- Michael --LVfZQckWCyRsHO+l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmZD+wEACgkQnvQgOdby QH0qUxAAiOkuuEtMrZ2st6eyVCssifxvAhLdBidGHlCsGeVsTiTYvd/KL90jKb3G JWl7dqeUW5qD7wLJDDvTN+lAyyTmdC3MAcOrAaVBOFpdDQviteivZv5s6xvHkcIG GeEGJh2nR8erL5Nm7lZi7xLKxfVWkzxAoiJrFWURTtPkjMCvY/+DF64WtS+X6oTU oBX1WWtK5UX4dwq40cUK7JSlNlOLZ/hpcUn67M+yE2kTRkEvTV4y0+TmOUecJCp2 KDzUYWosBWcYA7p2tUqy6BC0NUGHy3opwlDTeAOPM19QF4yx9oxuzrI/Sl8I4Mc1 /gfD2kbe8A4S7EcJCsxKXVSQDuCV+OzddqEMNrVUp1IwauJhMPk11UNX9b5WHsp3 IZDc3seobPCvMg0uAonbOwH+/0asF1kct1NnYfoFoA2vx8Wj2DU5xl968ZYb+Xjk wALoZcKkyDOYUwAMSSAnb+UqC+Det9RPP3gK+TwDVbmEmEgyfNZjiTysi7QENc7J p1Y25Hy6UVWt9mlK52ROEifcPF4Dh68hBchw1jXvOoztFQEQexbacYdShjwur2Ds Q8fZS5xdtFHYztaC5ZqIADmHJ/P2e0ynNWc/9Cj2UhCT3S2b/1JFduG6kKwHO6hm gbVm2MydH3HDCMgizUaniDJs+zu4OrYU+hqPFD+B/RPY4+1oN/g= =zBpb -----END PGP SIGNATURE----- --LVfZQckWCyRsHO+l--