summaryrefslogtreecommitdiff
path: root/src/common/string.c
diff options
context:
space:
mode:
authorRobert Haas2015-08-06 17:25:45 +0000
committerRobert Haas2015-08-06 17:25:45 +0000
commitdf0a67f754c2c45c99237765f30856c5dd95949d (patch)
tree7fec55ad66734b713b5fa54617df7d989c3f07b0 /src/common/string.c
parent0e141c0fbb211bdd23783afa731e3eef95c9ad7a (diff)
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/common/string.c')
0 files changed, 0 insertions, 0 deletions