xen: xenbus_dev_frontend: Really return response string
authorSimon Gaiser <simon@invisiblethingslab.com>
Thu, 15 Mar 2018 03:08:03 +0000 (04:08 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 17 Apr 2018 12:29:08 +0000 (08:29 -0400)
commitebf04f331fa15a966262341a7dc6b1a0efd633e4
tree920378e5359706325831631f4df34b945c13c1bb
parentcd6e992b3aab072cc90839508aaf5573c8f7e066
xen: xenbus_dev_frontend: Really return response string

xenbus_command_reply() did not actually copy the response string and
leaked stack content instead.

Fixes: 9a6161fe73bd ("xen: return xenstore command failures via response instead of rc")
Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c