pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
Date: Wed, 15 May 2024 11:22:58 -0700
Message-ID: <CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com> (raw)
In-Reply-To: <bc57073e-27a3-4a4a-9d93-ef734d473a74@eisentraut.org>
References: <202405101223.66lahv2qiwe7@alvherre.pgsql>
	<6dae7e56-5233-4183-bd12-c14cf3c9312e@eisentraut.org>
	<ZkP7ARo6lo90su3K@paquier.xyz>
	<bc57073e-27a3-4a4a-9d93-ef734d473a74@eisentraut.org>

On Tue, May 14, 2024 at 11:15 PM Peter Eisentraut <peter@eisentraut.org> wrote:
>
> On 15.05.24 02:00, Michael Paquier wrote:
> > 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.
>
> One instance of this problem that I can reproduce at least back to PG12 is
>
> 1. touch src/common/exec.c
> 2. make -C src/bin/pg_dump
>
> This will rebuild libpgcommon, but it will not relink pg_dump.

I remember src/common/unicode changes having similar trouble, as well [1].

--Jacob

[1] https://www.postgresql.org/message-id/CAFBsxsGZTwzDnTs=TVM38CCTPP3Y0D3=h+UiWt8M83D5THHf9A@mail.gmail...





view thread (12+ messages)

Message-ID: <CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com>
Permalink:  ../CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: jacob.champion@enterprisedb.com, peter@eisentraut.org, michael@paquier.xyz, alvherre@alvh.no-ip.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
  In-Reply-To: <CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com>
  References: <202405101223.66lahv2qiwe7@alvherre.pgsql> <6dae7e56-5233-4183-bd12-c14cf3c9312e@eisentraut.org> <ZkP7ARo6lo90su3K@paquier.xyz> <bc57073e-27a3-4a4a-9d93-ef734d473a74@eisentraut.org> <CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox