]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commit
CA-38105: Fix segfault in fork-and-exec-daemon.
authorJon Ludlam <Jonathan.Ludlam@eu.citrix.com <Jon Ludlam <Jonathan.Ludlam@eu.citrix.com>
Mon, 8 Mar 2010 11:28:56 +0000 (11:28 +0000)
committerJon Ludlam <Jonathan.Ludlam@eu.citrix.com <Jon Ludlam <Jonathan.Ludlam@eu.citrix.com>
Mon, 8 Mar 2010 11:28:56 +0000 (11:28 +0000)
commit924f7628552dcc3f57a6c49b5ee13cee8a184eea
tree13d4fb2b23cc73c95ebb5ee8609542baa4f7902e
parentc8921f3fafa3d3a85d66080bf03e9b2dc71751e5
CA-38105: Fix segfault in fork-and-exec-daemon.

The segfault would have happened when a message was receieved on this socket without an associated fd being sent. This is bad behaviour on the part of the client, but shouldn't cause a segfault. This patch fixes the segfault, but we'll need to fix the client too!

Signed-off-by: Jon Ludlam <Jonathan.Ludlam@eu.citrix.com
stdext/unixext_stubs.c