pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix incorrect calculation in shm_mq_receive.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix incorrect calculation in shm_mq_receive.
@ 2015-08-06 17:46 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2015-08-06 17:46 UTC (permalink / raw)
  To: 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
------
master

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

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix incorrect calculation in shm_mq_receive.
@ 2015-08-06 17:46 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2015-08-06 17:46 UTC (permalink / raw)
  To: 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_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6d9864d900e3651413a94e1f86a93f6a03f4dc42

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix incorrect calculation in shm_mq_receive.
@ 2015-08-06 17:46 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2015-08-06 17:46 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-08-06 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 17:46 pgsql: Fix incorrect calculation in shm_mq_receive. Robert Haas <rhaas@postgresql.org>
2015-08-06 17:46 pgsql: Fix incorrect calculation in shm_mq_receive. Robert Haas <rhaas@postgresql.org>
2015-08-06 17:46 pgsql: Fix incorrect calculation in shm_mq_receive. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox