pgsql: Fix check for memory allocation

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема pgsql: Fix check for memory allocation
Дата
Msg-id E1sBeKl-001z8b-9T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix check for memory allocation

Commit 61461a300c1 accidentally checked memory allocation success
using the wrong variable.

Author: Ranier Vilela <ranier.vf@gmail.com>
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAEudQAqQFTH7xCB-+K6zEKjfqbhqCxcr_w4DuJTxVT6h3vzu2w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4013a5ada25241ead6a3265d6edf9aadb654dc00

Modified Files
--------------
src/interfaces/libpq/fe-cancel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Fix potential NULL pointer dereference in getIdentitySequence()
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc PG 17 relnotes: adjust IN wording