Use memmove() instead of memcpy() for copying overlapping regions.
In commit d2495f27, I fixed this bug in to_tsquery(), but missed the fact that plainto_tsquery() has the same bug.
Showing
Please register or sign in to comment
In commit d2495f27, I fixed this bug in to_tsquery(), but missed the fact that plainto_tsquery() has the same bug.