mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-08-03 05:38:52 +02:00
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.