summaryrefslogtreecommitdiffstats
path: root/client_examples/gtkvncviewer.c
diff options
context:
space:
mode:
authorJay Carlson <nop@nop.com>2015-03-27 11:22:13 -0400
committerJay Carlson <nop@nop.com>2015-03-27 11:22:13 -0400
commit79d938c16bf7a14b6d6ee290bcfef3c01f9c4f02 (patch)
tree911fdad5eb67a4206b225590b65cefca94e77b34 /client_examples/gtkvncviewer.c
parent53becab94cccbcab9b20efd24b6071c2f3557eff (diff)
downloadlibtdevnc-79d938c16bf7a14b6d6ee290bcfef3c01f9c4f02.tar.gz
libtdevnc-79d938c16bf7a14b6d6ee290bcfef3c01f9c4f02.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 'client_examples/gtkvncviewer.c')
0 files changed, 0 insertions, 0 deletions