]> 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 07:57:59 +0000 (09:57 +0200)
commit6c2744f1d3a0d2e456f8d52776c976da3eb8d3a0
tree2fc551ed5d92dbae7487a1fe5e6924a5c4a62875
parentdfb1e9bdc0d0a506899b11038c7fce9631cac9fe
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