mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-01 12:42:00 +00:00
LZ image decompression was broken for 16 bpp: - stride was computed not computed correctly (as width*4). This caused also a buffer underflow; - stride in pixman is always multiple of 4 bytes (so for 16 bpp is ALIGN(width*2, 4)) so image decompressed by lz_decode as some missing bytes to be fixed. The alignment code is reused from LZ4 function. This fix also https://bugzilla.redhat.com/show_bug.cgi?id=1285469. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com> |
||
|---|---|---|
| build-aux | ||
| common | ||
| m4 | ||
| python_modules | ||
| tests | ||
| .gitmodules | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| git.mk | ||
| Makefile.am | ||
| spice1.proto | ||
| spice_codegen.py | ||
| spice.proto | ||