Re: pgsql: Don't trust unvalidated xl_tot_len.

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: pgsql: Don't trust unvalidated xl_tot_len.
Date: 2023-11-11 19:00:59
Message-ID: CA+hUKGL=9x4G6FMDDa9p-BCndjMhbrh05_vYhMj9WyyriNN08Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sun, Nov 12, 2023 at 7:27 AM Christoph Berg <myon(at)debian(dot)org> wrote:
> I can confirm that it's also failing in my local chroots if none of
> the postgresql-* packages are preinstalled.

In your chroot after it fails, can you please find xlog_internal.h
somewhere under tmp_install and tell us the full path, and can you
find pg_config (however many of them there might be, I'm a little
confused on where and when Debian creates extra versioned variants)
and tell us the full path, and also what --includedir-server prints,
and can you also find regress_log_039_end_of_wal and confirm that it
contains a complaint about being unable to open a file, not a
complaint about being unable to execute pg_config?

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-11-11 19:43:25 Re: pgsql: Don't trust unvalidated xl_tot_len.
Previous Message Christoph Berg 2023-11-11 18:26:59 Re: pgsql: Don't trust unvalidated xl_tot_len.

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2023-11-11 19:21:12 Add basic tests for the low-level backup method.
Previous Message Christoph Berg 2023-11-11 18:26:59 Re: pgsql: Don't trust unvalidated xl_tot_len.