public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: [email protected]
Subject: pgsql: pg_stash_advice: Reject overlong stash names in dump file.
Date: Fri, 29 May 2026 17:25:42 +0000
Message-ID: <[email protected]> (raw)

pg_stash_advice: Reject overlong stash names in dump file.

Otherwise, the server will crash. This can only happen if the dump
file has been corrupted or manually altered, but we should still
defend against it.

Reported-by: Ayush Tiwari <[email protected]>
Co-authored-by: Ayush Tiwari <[email protected]>
Co-authored-by: Robert Haas <[email protected]>
Discussion: http://postgr.es/m/CAJTYsWWYhcEx1YqC=B331-Df9EpD8MxzwswWL0okz9LLCUUpBA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/878839bafe259e6df355e7adc5a040a1541b63b8

Modified Files
--------------
contrib/pg_stash_advice/stashpersist.c | 7 +++++++
1 file changed, 7 insertions(+)



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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: pg_stash_advice: Reject overlong stash names in dump file.
  In-Reply-To: <[email protected]>

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

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