pgsql: Fix unsafe extraction of the OID part of a relation filename.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix unsafe extraction of the OID part of a relation filename.
Дата
Msg-id E1f0B7N-0001X8-LR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix unsafe extraction of the OID part of a relation filename.

Commit 8694cc96b did this randomly differently from other callers of
parse_filename_for_nontemp_relation().  Perhaps unsurprisingly,
the randomly different way is wrong; it fails to ensure the
extracted string is null-terminated.  Per buildfarm member skink.

Discussion: https://postgr.es/m/14453.1522001792@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d0c0c894533f906b13b79813f02b2982ac675074

Modified Files
--------------
src/backend/replication/basebackup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: pgsql: Exclude unlogged tables from base backups
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Exclude unlogged tables from base backups