libvirt/src/rpc
Michal Privoznik 9b48ef9c51 gendispatch: Avoid comparing signed and unsigned vars
The adminDispatchConnectListServers() function is generated by
our great perl script. However, it has a tiny flaw: if
adminConnectListServers() it calls fails, the control jumps onto
cleanup label where we try to free any list of servers built so
far. However, in the loop @i is unsigned (size_t) while @nresults
is signed (int). Currently, it does no harm because of the check
for @result being non-NULL. But if that ever changes in the
future, this bug will be hard to chase.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-03-24 10:49:39 +01:00
..
gendispatch.pl gendispatch: Avoid comparing signed and unsigned vars 2016-03-24 10:49:39 +01:00
genprotocol.pl Add support for portable-rpcgen from portablexdr library 2015-07-08 14:34:38 +02:00
gensystemtap.pl build: predictably generate systemtap tapsets (bz 1173641) 2016-01-20 10:26:02 -05:00
virkeepalive.c client rpc: Report proper error for keepalive disconnections 2015-09-23 13:09:49 +02:00
virkeepalive.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeepaliveprotocol.x Define keepalive protocol 2011-11-24 11:44:08 +01:00
virnetclient.c client rpc: Process pending data on error 2015-09-23 13:09:50 +02:00
virnetclient.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetclientprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetclientprogram.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetclientstream.c Use VIR_DIV_UP macro where possible 2015-09-23 11:45:59 +02:00
virnetclientstream.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdaemon.c Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetdaemon.h Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetmessage.c Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetmessage.h Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetprotocol.x Unify int types handling in protocol files 2016-01-11 19:56:06 +03:00
virnetsaslcontext.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetsaslcontext.h Tie SASL callbacks lifecycle to virNetSessionSASLContext 2013-11-26 11:52:58 +01:00
virnetserver.c server: Store server name in server object 2016-03-11 12:58:41 +01:00
virnetserver.h server: Store server name in server object 2016-03-11 12:58:41 +01:00
virnetserverclient.c rpc: Don't rewrite msg->fds on every read dispatch 2016-01-12 08:56:50 +01:00
virnetserverclient.h Include process start time when doing polkit checks 2013-05-08 10:47:45 +01:00
virnetservermdns.c mdns: Set error when failing due to missing avahi 2015-06-05 13:41:35 +02:00
virnetservermdns.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virnetserverprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetserverprogram.h Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
virnetserverservice.c virJSONValueArraySize: return ssize_t 2015-10-09 15:25:08 +02:00
virnetserverservice.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetsocket.c rpc: wait longer for session daemon to start up 2016-03-16 19:21:44 -04:00
virnetsocket.h rpc: add API for checking IPv4/6 availability 2015-06-11 12:11:18 +01:00
virnetsshsession.c rpc: libssh2: Fix regression in ssh host key verification 2015-10-05 07:38:18 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c security: fix DH key generation when FIPS mode is on 2014-09-04 11:56:36 +02:00
virnettlscontext.h Add APIs to get at more client security data 2013-03-19 13:11:46 +00:00