aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-08-06 13:25:45 -0400
committerRobert Haas <rhaas@postgresql.org>2015-08-06 13:36:10 -0400
commite72f2115ef6d574c64f42ea8b4cbe96accee08b2 (patch)
tree70f9a70176a130cc845f6e7c30706b4d048ba403 /src/backend/access/gist/gistxlog.c
parent543e2057fb0e89d64d7250f1afa57ac8305b85a4 (diff)
downloadpostgresql-e72f2115ef6d574c64f42ea8b4cbe96accee08b2.tar.gz
postgresql-e72f2115ef6d574c64f42ea8b4cbe96accee08b2.zip
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
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions