summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/vncauth.c
diff options
context:
space:
mode:
authorJay Carlson <[email protected]>2015-03-27 11:22:13 -0400
committerSlávek Banko <[email protected]>2019-02-06 23:34:37 +0100
commitc84d8d813c97c6d9f518bd77a4cf2a99b01a12a0 (patch)
tree68fdcebe2714d9bde313bd32d7d9b110cc158d7c /krdc/vnc/vncauth.c
parentf73675cdcbe106151014f62b92c989d92e09c3f7 (diff)
downloadtdenetwork-c84d8d813c97c6d9f518bd77a4cf2a99b01a12a0.tar.gz
tdenetwork-c84d8d813c97c6d9f518bd77a4cf2a99b01a12a0.zip
Avoid divide-by-zero in raw encoding (OSX RealVNC)
OS X RealVNC server crashes out Remmina because the server can provoke bytesPerLine to be zero. Assume this is coding for zero lines. The condition could be checked before the calculation of bytesPerLine. I don’t understand the preconditions of this code to say one way or the other.
Diffstat (limited to 'krdc/vnc/vncauth.c')
0 files changed, 0 insertions, 0 deletions