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: (view raw, whole thread or download thread mbox)
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.



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-2017 The PostgreSQL Global Development Group