]> granicus.if.org Git - postgresql/commit
Fix bug in to_tsquery().
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 May 2012 16:22:56 +0000 (19:22 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 May 2012 16:27:00 +0000 (19:27 +0300)
commit57615562504a3a10784d10a5205ed4bab41dba6e
tree8b8203113eedab87d4c4855c939fc5884b5951d6
parentfcc0ba313b41437b9efc01438f133feb484b2e93
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.
src/backend/tsearch/to_tsany.c