Created attachment 487077 [details] PATCH: fix xsel overflow of supported_targets array Hi, I'm one of the developers of spice (a remote virtual machine viewing protocol ala vnc / rdp). One of the features of spice is copy / paste between the guest and the client, while testing copy and paste with xsel, the spice-client crashed with a BadAtom error. This is caused by the spice-client getting the TARGETS property, and then for debugging purposes doing a XGetAtomName on all reported target Atoms. xsel however claims to send 9 targets, but only send 8 Atoms + 1 piece of random data from memory. The attached patch fixes this. Regards, Hans p.s. I've also send this patch upstream and CC-ed you on that mail.
I just got an email from upstream that they've accepted my patch and merged in into their git tree. Can we please get a Fedora package with this fix included build?
(In reply to comment #1) > I just got an email from upstream that they've accepted my patch and merged in > into their git tree. Can we please get a Fedora package with this fix included > build? I will do it today.
Thanks Hans and sorry for being late. commit ab2556fa7f66c61f24d09da0915e2c23761ef68c Author: Rakesh Pandit <rakesh> Date: Thu Apr 7 00:45:45 2011 +0530 fix xsel overflow of supported_targets array (BZ#690214) (Thanks Hans de Goede)
xsel-1.2.0-8.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/xsel-1.2.0-8.el6
xsel-1.2.0-8.el6 has been pushed to the Fedora EPEL 6 stable repository.