diff options
author | Alon Levy <alevy@redhat.com> | 2012-09-03 19:04:16 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-09-03 19:27:22 +0300 |
commit | 1c4e315e3e8261522d4944a75e4ca3917c505d2b (patch) | |
tree | aee87b0d57b03b8e7a3131dbd0aa2e2aa071f43a /server/red_client_cache.h | |
parent | f567f6b4cd696277fb48d7778d1aa0626f312d72 (diff) | |
download | spice-1c4e315e3e8261522d4944a75e4ca3917c505d2b.tar.gz spice-1c4e315e3e8261522d4944a75e4ca3917c505d2b.tar.xz spice-1c4e315e3e8261522d4944a75e4ca3917c505d2b.zip |
server/red_parse_qxl: add bitmap consistency check
Just checks stride vs width times bpp.
This fixes a potential abort on guest generated bad images in
glz_encoder.
Other files touched to move some consts to red_common, they are
static so no problem to be defined in both red_worker.c and
red_parse_qxl.c .
Diffstat (limited to 'server/red_client_cache.h')
0 files changed, 0 insertions, 0 deletions