]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita63b86d086e2ae131a7b1cb241b6b9aa5f9dd586
tree920378e5359706325831631f4df34b945c13c1bb
parent86f532d8a227e4511d8efa09be2c3be772a68806
xen: xenbus_dev_frontend: Really return response string

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

Fixes: 4e35a5df2aab ("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