Thanks for the patch. I have released it as part of the XFree86-xserv-4.3.0-18 package.
Harold
Kensuke Matsuzaki wrote:
Harold,
I misunderstod Xutf8TextPropertyToTextList return value and meaning of iCount. This attached patch will prevent crash.
To transfer large amount of text they use incrementally way called INCR, so we need to support it to copy/paste large amount of text.
Kensuke Matsuzaki