Avoid memcpy() with same source and destination address.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/dict_ispell.c | modified | +4 −5 |
| src/backend/utils/adt/tsvector.c | modified | +2 −1 |