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

From Heikki Linnakangas
Subject pgsql: Fix bug in to_tsquery().
Date
Msg-id E1SUKis-00005i-7M@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/26d73ddac43667f80cec530ac8644beeecfd666f

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix bug in to_tsquery().
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix bug in to_tsquery().