Skip site navigation (1) Skip section navigation (2)

pgsql: Fix bug in to_tsquery().

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in to_tsquery().
Date: 2012-05-15 16:35:42
Message-ID: E1SUKis-00005i-7M@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Peter EisentrautDate: 2012-05-15 18:40:06
Subject: pgsql: Remove stray nbsp character
Previous:From: Tom LaneDate: 2012-05-15 03:51:48
Subject: pgsql: In pgstat.c,use a timeout in WaitLatchOrSocket only on Windows.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group