pgsql: Use memmove() instead of memcpy() for copying overlapping region

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Use memmove() instead of memcpy() for copying overlapping region
Дата
Msg-id E1WCloo-0008KZ-Mh@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use memmove() instead of memcpy() for copying overlapping regions.

In commit d2495f272cd164ff075bee5c4ce95aed11338a36, I fixed this bug in
to_tsquery(), but missed the fact that plainto_tsquery() has the same bug.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f3807106b404c2e78961dd868adcb91d6d9ca6ee

Modified Files
--------------
src/backend/tsearch/to_tsany.c |    7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Further pg_dump / ftello improvements
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Use memmove() instead of memcpy() for copying overlapping region