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 1s5Ouk-005C0y-QL for pgsql-hackers@arkaria.postgresql.org; Fri, 10 May 2024 11:59:51 +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 1s5Oui-00E6Oi-Ga for pgsql-hackers@arkaria.postgresql.org; Fri, 10 May 2024 11:59:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s5Ouh-00E6OZ-Bh for pgsql-hackers@lists.postgresql.org; Fri, 10 May 2024 11:59:48 +0000 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s5Oue-000KXj-44 for pgsql-hackers@lists.postgresql.org; Fri, 10 May 2024 11:59:46 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 9CEEC114018D; Fri, 10 May 2024 07:59:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 10 May 2024 07:59:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715342382; x= 1715428782; bh=zWBA0RSADzrwk/s7SoMZ3ybmiAfYMPvJvYM683td7qM=; b=J Eno/SgE2/is+y4vQMgnskEi9g6z2AXw/qjfMlyQyZSslSSGqCe8x/ri0/aIHg3dC 9TxTogN33thwyzjFAM0cNnl21PaYF1MGOLGVzMBtrlBGBIIgWd/CLImTC8efTX2j Ln/03McCjdCAf8ubDsiYwpVYTij6bMTAjOPsQ4URYDPKYr2OqQFoij/qdTLByUz2 Hjhqow4i6hI9WkCAPbk95beARzVwF2usCQDEVPv592EOCajWsD4254ahU8fmrKWd PfXbLGSED4FpI/Bgys++ddyhLR729JSpwFG57MPOf4mwq2NZ1FhRJxDFXINLryIv HT5nQuJ3KzUW+l2J0mrBw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdefkedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvddufedtgfevvdfgffeghfevuddvgefhudegudffhfeg udduteettdfhvdegffehnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh dpthifihhtthgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 May 2024 07:59:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1715342379; bh=mIcPz+gR5RG2KIlajb74vPR4N1pWmEQqhWiUWHJqDiA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ql6OY76dMQhDXXnOgsQmDnutxPDUNKljAaKXK9cndOiga/qmeKrO0TRzAEva8qlfN h/S5TwCTqYExIkrBYLHCT4OTRP/3KB8XaAa4lpjpzEAwjUrkynjvfz7DtXtBSTLAgV Ip96sVZGcpVZN+S9oq+f4F+ca2Yk9vaCrAG/Cu4QBQhEvZYlSzrL750ONIcpP3yZJx ScVtQwJq5V1VNzFQ26R/5I63Td3bCtNP4WKQHFTv7YTCv2LDf/o/HdrbfSotMocr23 TuDjHd6YC8XBhXRPLNbFvexpdLq5tZQAKLFC3qTkRWQbtJVsjilJOE/G6q6XCqGxdN 6Kv/5QRRtdl2A== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 58B2DF1; Fri, 10 May 2024 13:59:39 +0200 (CEST) Date: Fri, 10 May 2024 13:59:39 +0200 From: Alvaro Herrera To: Michael Paquier Cc: pgsql-hackers@lists.postgresql.org, Jacob Champion Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence Message-ID: <202405101159.ttkbzrb5l7vn@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-May-09, Michael Paquier wrote: > Fix overread in JSON parsing errors for incomplete byte sequences I'm getting this error in the new test: t/002_inline.pl ........................ 1/? # Failed test 'incomplete UTF-8 sequence, chunk size 3: correct error output' # at t/002_inline.pl line 134. # 'Escape sequence "\�1+2" is invalid.' # doesn't match '(?^:(Token|Escape sequence) ""?\\\x{F5}" is invalid)' # Looks like you failed 1 test of 850. Not sure what's going on here, or why it fails for me while the buildfarm is all happy. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Every machine is a smoke machine if you operate it wrong enough." https://twitter.com/libseybieda/status/1541673325781196801