aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-18 20:51:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-18 20:51:30 +0000
commit6a6f2d91d4e90d09d3b1606cc806f78944c235b3 (patch)
tree92f8948eda0f91354ef40e976e3ddbcbf68a372d /src/backend/access/gist/gistxlog.c
parenta8d1075f271458960da683e8ec28f5a656984159 (diff)
downloadpostgresql-6a6f2d91d4e90d09d3b1606cc806f78944c235b3.tar.gz
postgresql-6a6f2d91d4e90d09d3b1606cc806f78944c235b3.zip
When using C-string lookup keys in a dynahash.c hash table, use strncpy()
not memcpy() to copy the offered key into the hash table during HASH_ENTER. This avoids possible core dump if the passed key is located very near the end of memory. Per report from Stefan Kaltenbrunner.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions