[PATCH 0/3] ui/vnc: fix some endian problems

Daniel P. Berrangé posted 3 patches 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250513100819.1179249-1-berrange@redhat.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>
There is a newer version of this series
include/ui/qemu-pixman.h |  4 ++--
ui/qemu-pixman.c         | 15 ++++++++-------
ui/vnc-enc-tight.c       | 16 ++++++++++------
ui/vnc-enc-zrle.c        |  2 +-
ui/vnc-jobs.c            |  2 +-
ui/vnc.c                 |  9 +++++----
ui/vnc.h                 |  2 +-
7 files changed, 28 insertions(+), 22 deletions(-)
[PATCH 0/3] ui/vnc: fix some endian problems
Posted by Daniel P. Berrangé 6 months ago
This fixes some edge cases in endian handling in the VNC server. These
bugs are rarely going to be visible by default, since most servers will
negotiate encoding formats / framebuffer formats that avoid hitting
the problem scenarios.

Daniel P. Berrangé (3):
  ui/vnc.c: replace big endian flag with byte order value
  ui/vnc: take account of client byte order in pixman format
  ui/vnc: fix tight palette pixel encoding for 8/16-bpp formats

 include/ui/qemu-pixman.h |  4 ++--
 ui/qemu-pixman.c         | 15 ++++++++-------
 ui/vnc-enc-tight.c       | 16 ++++++++++------
 ui/vnc-enc-zrle.c        |  2 +-
 ui/vnc-jobs.c            |  2 +-
 ui/vnc.c                 |  9 +++++----
 ui/vnc.h                 |  2 +-
 7 files changed, 28 insertions(+), 22 deletions(-)

-- 
2.49.0