• Manuel Pégourié-Gonnard's avatar
    Add guards for closed socket in net.c · 9bd0afdb
    Manuel Pégourié-Gonnard authored
    This is particularly problematic when calling FD_SET( -1, ... ), but let's
    check it in all functions.
    
    This was introduced with the new API and the fact the net_free() now sets the
    internal fd to -1 in order to mark it as closed: now using this information.
    9bd0afdb
Name
Last commit
Last update
..
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
Makefile Loading commit data...
aes.c Loading commit data...
aesni.c Loading commit data...
arc4.c Loading commit data...
asn1parse.c Loading commit data...
asn1write.c Loading commit data...
base64.c Loading commit data...
bignum.c Loading commit data...
blowfish.c Loading commit data...
camellia.c Loading commit data...
ccm.c Loading commit data...
certs.c Loading commit data...
cipher.c Loading commit data...
cipher_wrap.c Loading commit data...
ctr_drbg.c Loading commit data...
debug.c Loading commit data...
des.c Loading commit data...
dhm.c Loading commit data...
ecdh.c Loading commit data...
ecdsa.c Loading commit data...
ecp.c Loading commit data...
ecp_curves.c Loading commit data...
entropy.c Loading commit data...
entropy_poll.c Loading commit data...
error.c Loading commit data...
gcm.c Loading commit data...
havege.c Loading commit data...
hmac_drbg.c Loading commit data...
md.c Loading commit data...
md2.c Loading commit data...
md4.c Loading commit data...
md5.c Loading commit data...
md_wrap.c Loading commit data...
memory_buffer_alloc.c Loading commit data...
net.c Loading commit data...
oid.c Loading commit data...
padlock.c Loading commit data...
pem.c Loading commit data...
pk.c Loading commit data...
pk_wrap.c Loading commit data...
pkcs11.c Loading commit data...
pkcs12.c Loading commit data...
pkcs5.c Loading commit data...
pkparse.c Loading commit data...
pkwrite.c Loading commit data...
platform.c Loading commit data...
ripemd160.c Loading commit data...
rsa.c Loading commit data...
sha1.c Loading commit data...
sha256.c Loading commit data...
sha512.c Loading commit data...
ssl_cache.c Loading commit data...
ssl_ciphersuites.c Loading commit data...
ssl_cli.c Loading commit data...
ssl_cookie.c Loading commit data...
ssl_srv.c Loading commit data...
ssl_ticket.c Loading commit data...
ssl_tls.c Loading commit data...
threading.c Loading commit data...
timing.c Loading commit data...
version.c Loading commit data...
version_features.c Loading commit data...
x509.c Loading commit data...
x509_create.c Loading commit data...
x509_crl.c Loading commit data...
x509_crt.c Loading commit data...
x509_csr.c Loading commit data...
x509write_crt.c Loading commit data...
x509write_csr.c Loading commit data...
xtea.c Loading commit data...