Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287620
b: refs/heads/master
c: a43a5cc
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Konrad Rzeszutek Wilk committed Feb 3, 2012
1 parent 8b42464 commit 0ea2caa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4de866a834620ef974f5ba86d394a13d2f0cf66
refs/heads/master: a43a5ccdfa5bd5b2f00aa9b2321df268c2e5d6e2
4 changes: 4 additions & 0 deletions trunk/drivers/xen/xenbus/xenbus_dev_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u)
goto out;
}
token++;
if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) {
rc = -EILSEQ;
goto out;
}

if (msg_type == XS_WATCH) {
watch = alloc_watch_adapter(path, token);
Expand Down

0 comments on commit 0ea2caa

Please sign in to comment.