libvirt/src/rpc
Jiri Denemark 066c8ef6c1 Really don't crash if a connection closes early
https://bugzilla.redhat.com/show_bug.cgi?id=1047577

When writing commit 173c291, I missed the fact virNetServerClientClose
unlocks the client object before actually clearing client->sock and thus
it is possible to hit a window when client->keepalive is NULL while
client->sock is not NULL. I was thinking client->sock == NULL was a
better check for a closed connection but apparently we have to go with
client->keepalive == NULL to actually fix the crash.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2014-01-13 21:45:48 +01:00
..
gendispatch.pl Record the where the auto-generated data comes from 2013-08-09 17:13:02 +01:00
genprotocol.pl genprotocol.pl: Fix code on FreeBSD too 2013-09-27 18:32:42 +02:00
gensystemtap.pl
virkeepalive.c
virkeepalive.h
virkeepaliveprotocol.x
virnetclient.c remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnetclient.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnetclientprogram.c Convert 'int i' to 'size_t i' in src/rpc/ files 2013-07-10 17:40:14 +01:00
virnetclientprogram.h
virnetclientstream.c Adapt to VIR_ALLOC and virAsprintf in src/rpc/* 2013-07-10 11:07:32 +02:00
virnetclientstream.h
virnetmessage.c MacOS: Handle changes to xdrproc_t definition 2013-11-03 09:34:10 -06:00
virnetmessage.h
virnetprotocol.x Adjust legacy max payload size to account for header information 2013-10-07 13:28:44 +02:00
virnetsaslcontext.c Fix invalid read in virNetSASLSessionClientStep debug log 2013-11-26 11:52:58 +01:00
virnetsaslcontext.h Tie SASL callbacks lifecycle to virNetSessionSASLContext 2013-11-26 11:52:58 +01:00
virnetserver.c Get rid of shadowed booleans 2013-10-22 15:50:47 +01:00
virnetserver.h
virnetserverclient.c Really don't crash if a connection closes early 2014-01-13 21:45:48 +01:00
virnetserverclient.h
virnetservermdns.c Adapt to VIR_ALLOC and virAsprintf in src/rpc/* 2013-07-10 11:07:32 +02:00
virnetservermdns.h
virnetserverprogram.c Adapt to VIR_ALLOC and virAsprintf in src/rpc/* 2013-07-10 11:07:32 +02:00
virnetserverprogram.h
virnetserverservice.c Introduce max_queued_clients 2013-08-05 11:03:01 +02:00
virnetserverservice.h Introduce max_queued_clients 2013-08-05 11:03:01 +02:00
virnetsocket.c virnetsocket: fix getsockopt on FreeBSD 2013-11-03 17:08:55 -06:00
virnetsocket.h Add a virNetSocketNewConnectSockFD method 2013-09-24 09:37:26 +01:00
virnetsshsession.c Stop free'ing 'const char *' strings 2013-09-05 11:28:01 +01:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c Remove all direct use of getenv 2013-10-21 14:03:52 +01:00
virnettlscontext.h