git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0e141c0) | patch
Fix incorrect calculation in shm_mq_receive.
Thu, 6 Aug 2015 17:25:45 +0000 (13:25 -0400)
Thu, 6 Aug 2015 17:25:45 +0000 (13:25 -0400)
commit df0a67f754c2c45c99237765f30856c5dd95949d
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
src/backend/storage/ipc/shm_mq.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /