summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeCtescan.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:27:25 -0500
commit7be0d775a2e78d052c00f154741e9d8d76166fa3 (patch)
treee94f6613bf1bf9718bd845c27c5d4537518f880e /src/backend/executor/nodeCtescan.c
parent72567f6174605c36ba520c80e71697d2601cac0a (diff)
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/nodeCtescan.c')
0 files changed, 0 insertions, 0 deletions