]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools: libxencall/foreignmemory: initialise handle->fd
authorIan Campbell <ian.campbell@citrix.com>
Wed, 3 Feb 2016 10:09:42 +0000 (10:09 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 3 Feb 2016 11:23:43 +0000 (11:23 +0000)
commit7db1f6a67da2ba4997ad2079f0c652b3a18fd9d5
tree3d3e6154687a701e70d7eaca7e6c32ed9305946b
parentcc449379d9932c2fec23c5b8e838e01c837660a7
tools: libxencall/foreignmemory: initialise handle->fd

Otherwise the osdep close on the error path touches an uninitialised
varialble.

CID: 1351231 (foreignmemory) and 1351230 (call)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libs/call/core.c
tools/libs/foreignmemory/core.c