clipboard: Dont append data on when read results in EAGAIN

Otherwise QByteArray::append is called with a negative number which
tries to find a null terminator in buffer.
BUG:512076
FIXED-IN:6.5.4
Edited by David Redondo

Merge request reports

Loading