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

From Heikki Linnakangas
Subject pgsql: Fix bug in to_tsquery().
Date
Msg-id E1SUcb0-0008Kv-Oy@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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6e088424e2d41c01324f4bb730fab8ff44b68b81

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: Re: pgsql: Fix bug in to_tsquery().
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Fix bug in to_tsquery().