]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools/libxl: Initialise the fd of the unused half of a datacopier
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 Jul 2015 16:59:09 +0000 (17:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 17 Jul 2015 17:10:00 +0000 (18:10 +0100)
commit21d9b079e53805b68047d60d28cde224d09bbb40
treefb7d055a5964ceb1cf34d19af3ebc3568eaa0785
parent2909ad4c96ba5527b35ac87c089116cd0320a5e7
tools/libxl: Initialise the fd of the unused half of a datacopier

This bug causes a spurious failure if stdin happens to be an
appropriately readable/writeable pipe which receives a POLLHUP

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_stream_read.c
tools/libxl/libxl_stream_write.c