pgsql: Fix bug in to_tsquery(). - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix bug in to_tsquery().
Date
Msg-id E1SUKis-00005k-8V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix bug in to_tsquery().

We were using memcpy() to copy to a possibly overlapping memory region,
which is a no-no. Use memmove() instead.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/57615562504a3a10784d10a5205ed4bab41dba6e

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: In pgstat.c, use a timeout in WaitLatchOrSocket only on Windows.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix bug in to_tsquery().