diff options
author | Jay Carlson <[email protected]> | 2015-03-27 11:22:13 -0400 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-06 23:34:37 +0100 |
commit | c84d8d813c97c6d9f518bd77a4cf2a99b01a12a0 (patch) | |
tree | 68fdcebe2714d9bde313bd32d7d9b110cc158d7c /krdc/kservicelocator.cpp | |
parent | f73675cdcbe106151014f62b92c989d92e09c3f7 (diff) | |
download | tdenetwork-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/kservicelocator.cpp')
0 files changed, 0 insertions, 0 deletions