diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-12-20 17:21:55 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-12-20 17:26:50 -0500 |
commit | f94eec490b2671399c102b89c9fa0311aea3a39f (patch) | |
tree | cd255050f6ea0e8487311db0e9198a5a8742cf30 /src/backend/executor/execProcnode.c | |
parent | 7d3583ad9ae54b44119973a9d6d731c9cc74c86e (diff) | |
download | postgresql-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/execProcnode.c')
0 files changed, 0 insertions, 0 deletions