aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-08-07 16:00:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-08-07 16:01:09 -0400
commit0667d889ea9b9ae298ca899fa53484703bc8fdaf (patch)
treeb232f0d35f7af7607b71c1b30638a22d27fed279 /src/backend/tcop/postgres.c
parent91f6ec2994ff7a86a1bb37c92937c51d07c77422 (diff)
downloadpostgresql-0667d889ea9b9ae298ca899fa53484703bc8fdaf.tar.gz
postgresql-0667d889ea9b9ae298ca899fa53484703bc8fdaf.zip
Fix incorrect initialization of BackendActivityBuffer.
Since commit c8e8b5a6e, this has been zeroed out using the wrong length. In practice the length would always be too small, leading to not zeroing the whole buffer rather than clobbering additional memory; and that's pretty harmless, both because shmem would likely start out as zeroes and because we'd reinitialize any given entry before use. Still, it's bogus, so fix it. Reported by Petru-Florin Mihancea (bug #15312) Discussion: https://postgr.es/m/153363913073.1303.6518849192351268091@wrigleys.postgresql.org
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions