pgsql: Fix incorrect calculation in shm_mq_receive.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix incorrect calculation in shm_mq_receive.
Дата
Msg-id E1ZNPFm-0005Gy-29@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix incorrect calculation in shm_mq_receive.

If some, but not all, of the length word has already been read, and the
next attempt to read sees exactly the number of bytes needed to complete
the length word, or fewer, then we'll incorrectly read less than all of
the available data.

Antonin Houska

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e72f2115ef6d574c64f42ea8b4cbe96accee08b2

Modified Files
--------------
src/backend/storage/ipc/shm_mq.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix incorrect calculation in shm_mq_receive.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Further fixes for degenerate outer join clauses.