diff options
| author | Tom Lane | 2005-06-18 20:51:59 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-06-18 20:51:59 +0000 |
| commit | 41d28499a28249549d8f589370348479ff7232af (patch) | |
| tree | 9e2b1219de902ca0967887f6bea05b00cf8390c9 /src/include/postgres.h | |
| parent | 2b6dd51a5f85e904bc14f7ef00ea89fd003bdf1d (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/postgres.h')
0 files changed, 0 insertions, 0 deletions
