aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHashjoin.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-20 17:21:55 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-20 17:26:50 -0500
commitf94eec490b2671399c102b89c9fa0311aea3a39f (patch)
treecd255050f6ea0e8487311db0e9198a5a8742cf30 /src/backend/executor/nodeHashjoin.c
parent7d3583ad9ae54b44119973a9d6d731c9cc74c86e (diff)
downloadpostgresql-f94eec490b2671399c102b89c9fa0311aea3a39f.tar.gz
postgresql-f94eec490b2671399c102b89c9fa0311aea3a39f.zip
When passing query strings to workers, pass the terminating \0.
Otherwise, when the query string is read, we might trailing garbage beyond the end, unless there happens to be a \0 there by good luck. Report and patch by Thomas Munro. Reviewed by Rafia Sabih. Discussion: http://postgr.es/m/CAEepm=2SJs7X+_vx8QoDu8d1SMEOxtLhxxLNzZun_BvNkuNhrw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions