libvirt/src/rpc
Ján Tomko a3f565b339 Fix possible invalid read in adminClientGetInfo
virNetServerClientGetInfo returns the client's remote address
as a string, which is a part of the client object.

Use VIR_STRDUP to make a copy which can be freely accessed
even after the virNetServerClient object is unlocked.

To reproduce, put a sleep between virObjectUnlock in
virNetServerClientGetInfo and virTypedParamsAddString in
adminClientGetInfo, then close the queried connection during
that sleep.
2016-06-29 16:13:12 +02:00
..
gendispatch.pl rpcgen: Add support for generating funcs returning alloc'd typed params 2016-06-22 08:15:45 +02: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 Rename virNetClient*AddrString 2016-06-23 22:31:20 +02:00
virnetclient.h Rename virNetClient*AddrString 2016-06-23 22:31:20 +02: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 virnetclientstream: Process stream messages later 2016-05-02 07:56:38 +02:00
virnetclientstream.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdaemon.c rpc: daemon: Fix virtlog/virtlock daemon reload 2016-04-13 11:07:21 -04:00
virnetdaemon.h Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetmessage.c rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetmessage.h rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetprotocol.x rpc: protocol: Clarify VIR_NET_ERROR usage with streams 2016-05-02 10:13:04 -04:00
virnetsaslcontext.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetsaslcontext.h build: workaround broken SASL header (again) 2016-03-31 17:36:49 +02:00
virnetserver.c Introduce virNetServerClientRemoteAddrStringURI 2016-06-23 22:23:02 +02:00
virnetserver.h admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
virnetserverclient.c Fix possible invalid read in adminClientGetInfo 2016-06-29 16:13:12 +02:00
virnetserverclient.h Fix possible invalid read in adminClientGetInfo 2016-06-29 16:13:12 +02: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 virNet{Client,Server}*Stream: Update comment 2016-04-21 16:29:41 +02:00
virnetserverprogram.h daemonClientStream: Use unsigned int to store stream @serial 2016-04-21 16:29:41 +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 Add SASL to virNetSocket{Local,Remote}AddrString 2016-06-23 22:23:21 +02:00
virnetsocket.h Add SASL to virNetSocket{Local,Remote}AddrString 2016-06-23 22:23:21 +02:00
virnetsshsession.c build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c rpc: allow priority string to be passed to TLS context 2016-06-08 13:48:45 +01:00
virnettlscontext.h rpc: allow priority string to be passed to TLS context 2016-06-08 13:48:45 +01:00