]> granicus.if.org Git - postgresql/commit
Use memmove() instead of memcpy() for copying overlapping regions.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Feb 2014 07:55:14 +0000 (09:55 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Feb 2014 08:00:23 +0000 (10:00 +0200)
commit5f778e6444c87948c84099754e23f6e1cff759fa
tree0ca489591678eeb1e9c41c274ec248ab9e53a893
parentc6e5c4dd1d9ba2abb7970c9dc920ecaf43837435
Use memmove() instead of memcpy() for copying overlapping regions.

In commit d2495f272cd164ff075bee5c4ce95aed11338a36, I fixed this bug in
to_tsquery(), but missed the fact that plainto_tsquery() has the same bug.
src/backend/tsearch/to_tsany.c