https://github.com/postgres/postgres
Revision 41d28499a28249549d8f589370348479ff7232af authored by Tom Lane on 18 June 2005, 20:51:59 UTC, committed by Tom Lane on 18 June 2005, 20:51:59 UTC
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.
1 parent 2b6dd51
History
Tip revision: 41d28499a28249549d8f589370348479ff7232af authored by Tom Lane on 18 June 2005, 20:51:59 UTC
When using C-string lookup keys in a dynahash.c hash table, use strncpy()
Tip revision: 41d2849
File Mode Size
config
contrib
doc
src
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 1.4 KB
README -rw-r--r-- 1.3 KB
README.CVS -rw-r--r-- 767 bytes
aclocal.m4 -rw-r--r-- 442 bytes
configure -rwxr-xr-x 511.5 KB
configure.in -rw-r--r-- 39.0 KB

README

back to top