KasmVNC/common
Mark Mielke 80a637c793 Fix division by zero exception in SSecurityPlain.
If using SSecurityPlain and the user specifies an empty username
and password, it will invoke InStream::checkNoWait(0) which will
cause a division by zero when calculating the number of available
items.

Enhance InStream::check() to behave properly when asked for
zero items, or zero sized items.

Add comments to InStream::check(), InStream::checkNoWait(),
and InStream::readBytes() to document expected behaviour
when requested to check or read zero items, or an item with
zero size.
2020-09-21 13:46:38 +03:00
..
network Throw GAIException() for getaddrinfo errors 2020-09-21 13:26:15 +03:00
os Initial commit 2020-09-20 12:16:44 +00:00
rdr Fix division by zero exception in SSecurityPlain. 2020-09-21 13:46:38 +03:00
rfb Fix JpegCompressor::overrun() type change 2020-09-21 13:42:29 +03:00
Xregion Initial commit 2020-09-20 12:16:44 +00:00
CMakeLists.txt Initial commit 2020-09-20 12:16:44 +00:00