summaryrefslogtreecommitdiffstats
path: root/examples/android
diff options
context:
space:
mode:
authorGeorge Fleury <gfleury@gmail.com>2016-05-13 06:01:43 -0300
committerGeorge Fleury <gfleury@gmail.com>2016-05-13 06:01:43 -0300
commit1417cb1c3f19de906074983bd98caee5283cb006 (patch)
treec3864da3a94be18876c0f655df5ed3fda1f070b7 /examples/android
parent785f0fa2d1fe18f08bf521ed4a0d34a5d0c87782 (diff)
downloadlibtdevnc-1417cb1c3f19de906074983bd98caee5283cb006.tar.gz
libtdevnc-1417cb1c3f19de906074983bd98caee5283cb006.zip
Avoid calling SSL_pending when connection is already closed
Avoid calling SSL_pending when connection is already closed, calling SSL_pending with connection already closed is crashing. To reproduce, open a secure websocket binay protocol connection with libvncserver compiled with OpenSSL, and when libvncserver is waiting for rfbProcessClientProtocolVersion send any invalid char, it will fail and call rfbCloseClient whith destroy all SSL context, calling SSL_pending after that will generate a invalid access.
Diffstat (limited to 'examples/android')
0 files changed, 0 insertions, 0 deletions