pg_regress/pg_isolation_regress: Fix possible nullptr dereference.

Поиск
Список
Период
Сортировка
От Xing Guo
Тема pg_regress/pg_isolation_regress: Fix possible nullptr dereference.
Дата
Msg-id CACpMh+A8cRvtvtOWVAZsCM1DU81GK4DL26R83y6ugZ1osV=ifA@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_regress/pg_isolation_regress: Fix possible nullptr dereference.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi hackers,

While playing with pg_regress and pg_isolation_regress, I noticed that
there's a potential nullptr deference in both of them.

How to reproduce:

Specify the `--dbname=` option without providing any database name.

<path>/<to>/pg_regress --dbname=   foo
<path>/<to>/pg_isolation_regress --dbname=   foo

Patch is attached.

-- 
Best Regards,
Xing

Вложения

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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: pgsql: Revoke PUBLIC CREATE from public schema, now owned by pg_databas
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: New docs chapter on Transaction Management and related changes