diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-18 20:51:30 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-18 20:51:30 +0000 |
| commit | 6a6f2d91d4e90d09d3b1606cc806f78944c235b3 (patch) | |
| tree | 92f8948eda0f91354ef40e976e3ddbcbf68a372d /src/include/executor/executor.h | |
| parent | a8d1075f271458960da683e8ec28f5a656984159 (diff) | |
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/include/executor/executor.h')
0 files changed, 0 insertions, 0 deletions
