ui/vnc: fix some endian problems
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v13 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ui/vnc.c: replace big endian flag with byte order valueui/ ui/ ui/ +2 more | +7 | 2 replies | |
| 2/3 | ui/vnc: take account of client byte order in pixman formatinclude/ ui/ ui/ +1 more | +13 | 0 replies | |
| 3/3 | ui/vnc: fix tight palette pixel encoding for 8/16-bpp formatsui/ | +8 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | BALATON Zoltan |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] ui/vnc: fix some endian problems
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.
In v2:
- Rename 'client_bo' to 'client_endian' for reviewer clarity
- Rename 'native' to 'native_endian' for code consistency
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(-)
Signature · 1 line
2.49.0