|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [Xen-changelog] [xen-unstable] linux: Fix xenbus device
On Wed, Mar 07, 2007 at 11:30:21AM -0800, Keir Fraser wrote:
> u->len += len;
> - if (u->len < (sizeof(u->u.msg) + u->u.msg.len))
> - return len;
> + if ((u->len < sizeof(u->u.msg)) ||
> + (u->len < (sizeof(u->u.msg) + u->u.msg.len)))
> + return rc;
What is this trying to achieve?
regards
john
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: [Xen-changelog] [xen-unstable] linux: Fix xenbus device write function.,
John Levon <=
|
|
|
|
|