xenbus_dev: add missing error check to watch handling
authorJan Beulich <JBeulich@suse.com>
Tue, 24 Jan 2012 13:52:42 +0000 (13:52 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 3 Feb 2012 21:07:05 +0000 (16:07 -0500)
commita43a5ccdfa5bd5b2f00aa9b2321df268c2e5d6e2
tree0269faaf39185a0945ce19fab91b9cfdeb0d05e2
parente4de866a834620ef974f5ba86d394a13d2f0cf66
xenbus_dev: add missing error check to watch handling

So far only the watch path was checked to be zero terminated, while
the watch token was merely assumed to be.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_dev_frontend.c