daemon: fix leak after listing all volumes CVE-2013-1962
authorJán Tomko <jtomko@redhat.com>
Fri, 12 Apr 2013 15:30:56 +0000 (17:30 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 16 May 2013 13:59:37 +0000 (15:59 +0200)
commitca697e90d5bd6a6dfb94bfb6d4438bdf9a44b739
treef75685f2ce4f1e102e5c49c6396cec1cabdb27f7
parent9684bb11fd3832582308d0bcdb649041fd6584e2
daemon: fix leak after listing all volumes

CVE-2013-1962

remoteDispatchStoragePoolListAllVolumes wasn't freeing the pool.
The pool also held a reference to the connection, preventing it from
getting freed and closing the netcf interface driver, which held two
sockets open.
daemon/remote.c