summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-02-04 01:11:47 +0000
committerNeil Conway <neilc@samurai.com>2004-02-04 01:11:47 +0000
commite66fcce67272f5aece55e834b34ed318b67f921b (patch)
tree911e8697bcdb32e806ec1d96d6b7b6a714bd69c4 /src/backend/access/gist/gist.c
parentd3917186b26bb95641b6c6189c5c23989c41f69d (diff)
downloadpostgresql-e66fcce67272f5aece55e834b34ed318b67f921b.tar.gz
Use memmove() rather than memcpy() in set_var_from_var(). If this function
is asked to assign a variable to itself, it will result in doing a memcpy() on an entirely-overlapping memory range, which results in undefined behavior according to ANSI C. That said, it is unlikely to actually do anything bad on any sane libc, but this keeps valgrind quiet.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions