aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Password.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-10-02 16:06:08 +0200
committerPierre Ossman <ossman@cendio.se>2019-12-20 07:29:00 +0100
commit6c47340e095258a959c95db9aa2a6c715d62bf7c (patch)
tree6ad2699f7802a454435108ff18d0a3571703a9cd /common/rfb/Password.h
parente56029200c52e892c6667a41b3de69cc1cbad1d1 (diff)
downloadtigervnc-6c47340e095258a959c95db9aa2a6c715d62bf7c.tar.gz
tigervnc-6c47340e095258a959c95db9aa2a6c715d62bf7c.zip
Handle pixel formats with odd shift values
Our fast paths assume that each channel fits in to a separate byte. That means the shift needs to be a multiple of 8. Start actually checking this so that a client cannot trip us up and possibly cause incorrect code exection. Issue found by Pavel Cheremushkin from Kaspersky Lab. (cherry picked from commit 05e28490873a861379c943bf616614b78b558b89)
Diffstat (limited to 'common/rfb/Password.h')
0 files changed, 0 insertions, 0 deletions