git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2b8483d) | patch
Avoid memcpy() with same source and destination address.
Fri, 7 Mar 2014 11:13:33 +0000 (13:13 +0200)
Fri, 7 Mar 2014 11:14:33 +0000 (13:14 +0200)
commit ad7b48ea08d6c33bae0a33c5f2a06272293c0f2f
Avoid memcpy() with same source and destination address.

The behavior of that is undefined, although unlikely to lead to problems in
practice.

Found by running regression tests with Valgrind.
src/backend/tsearch/dict_ispell.c diff | blob | blame | history
src/backend/utils/adt/tsvector.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /