pgsql: pg_stash_advice: Reject overlong stash names in dump file.
pgsql: pg_stash_advice: Reject overlong stash names in dump file.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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 Co-authored-by: Ayush Tiwari Co-authored-by: Robert Haas 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(+)