Fixed #4993: Allow uninitialized bio socket in transport_bio_simple_uninit
authorArmin Novak <armin.novak@thincast.com>
Wed, 7 Nov 2018 16:01:28 +0000 (17:01 +0100)
committerArmin Novak <armin.novak@thincast.com>
Wed, 7 Nov 2018 16:02:07 +0000 (17:02 +0100)
commit5eca5ebde8072fda20f0d34905c63bcca2bd2e58
tree83c85764f1f6fe2720afee6f5b1468d84e927093
parentcf43406dc30258bb0c3736bce07ce0ac4366ca26
Fixed #4993: Allow uninitialized bio socket in transport_bio_simple_uninit

When the TLS connection is aborted early (certificate issues, ...)
the bio simple socket might not have been initialized.
Do not access the NULL pointer on cleanup.
libfreerdp/core/tcp.c