diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-29 00:33:57 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-29 18:38:04 +0100 |
commit | fb60f2dbe649c03a8357a277eccb6d06dfe07b68 (patch) | |
tree | 1c50e647f27341e86fa2530c27203b57c362832a /thirdparty/libwebp/src/demux | |
parent | 4caadae0f15d658d464d125829039a2e35c68124 (diff) |
Fix Copy/Paste problems on X11
The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when
requested. Since we are sending a number of ATOMS the size should be set
to the integer size and not the char size.
The size field of the atoms is also the number of atoms and not the size
of the array. This caused some clients to wrongly interpret the data and
read garbage in the X11 packet.
I also add the more modern representation for UTF-8 and clarify the
error message if a client attempts to request a type we don't know
about.
This fixes #10431
Diffstat (limited to 'thirdparty/libwebp/src/demux')
0 files changed, 0 insertions, 0 deletions