Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
Date: 2024-05-15 18:22:58
Message-ID: CAOYmi+noK+9neP2Y1QLqBTFhpEnMT21TeKFdoRKHV0zGrgV_ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, May 14, 2024 at 11:15 PM Peter Eisentraut <peter(at)eisentraut(dot)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.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-05-15 20:52:48 pgsql: Fix query result leak during binary upgrade
Previous Message Peter Eisentraut 2024-05-15 11:57:18 pgsql: Re-forbid underscore in positional parameters

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2024-05-15 18:24:00 Re: Direct SSL connection with ALPN and HBA rules
Previous Message Nazir Bilal Yavuz 2024-05-15 18:18:12 Re: Use streaming read API in ANALYZE