Displaying 5 results from an estimated 5 matches for "xenbus_file_write".
2012 Sep 13
2
potential integer overflow in xenbus_file_write()
Hi,
I was reading some code and had a question in xenbus_file_write()
drivers/xen/xenbus/xenbus_dev_frontend.c
461 if ((len + u->len) > sizeof(u->u.buffer)) {
^^^^^^^^^^^^
Can this addition overflow? Should the test be something like:
if (len > sizeof(u->u.buffer) || len + u->len > sizeof(u->u.buffer)) {...
2012 Sep 13
2
potential integer overflow in xenbus_file_write()
Hi,
I was reading some code and had a question in xenbus_file_write()
drivers/xen/xenbus/xenbus_dev_frontend.c
461 if ((len + u->len) > sizeof(u->u.buffer)) {
^^^^^^^^^^^^
Can this addition overflow? Should the test be something like:
if (len > sizeof(u->u.buffer) || len + u->len > sizeof(u->u.buffer)) {...
2012 Sep 13
2
potential integer overflow in xenbus_file_write()
Hi,
I was reading some code and had a question in xenbus_file_write()
drivers/xen/xenbus/xenbus_dev_frontend.c
461 if ((len + u->len) > sizeof(u->u.buffer)) {
^^^^^^^^^^^^
Can this addition overflow? Should the test be something like:
if (len > sizeof(u->u.buffer) || len + u->len > sizeof(u->u.buffer)) {...
2015 Nov 25
3
Bug#806226: xen-hypervisor-4.6-amd64: Can't start a VM
...?
xs_talkv+0x67/0x1d0
Nov 25 15:49:53 k2000 kernel: [ 2408.822725] [<ffffffff8139770f>] ?
xs_watch+0x4f/0x70
Nov 25 15:49:53 k2000 kernel: [ 2408.822727] [<ffffffff81397bd6>] ?
register_xenbus_watch+0x96/0x110
Nov 25 15:49:53 k2000 kernel: [ 2408.822728] [<ffffffff8139a57f>] ?
xenbus_file_write+0x48f/0x520
Nov 25 15:49:53 k2000 kernel: [ 2408.822731] [<ffffffff810bab75>] ?
cgroup_post_fork+0x75/0x100
Nov 25 15:49:53 k2000 kernel: [ 2408.822732] [<ffffffff812e570a>] ?
cpumask_next_and+0x2a/0x40
Nov 25 15:49:53 k2000 kernel: [ 2408.822734] [<ffffffff81138bfe>] ?
__vfs_w...
2015 May 30
4
Bug#787229: xen-hypervisor-4.4-amd64: xl command hangs on Dell R720
...ueue+0x12/0x50
May 29 23:28:01 jango kernel: [ 245.722023] [<ffffffff8150f60b>] ?
mutex_lock+0x1b/0x2a
May 29 23:28:01 jango kernel: [ 245.722029] [<ffffffff8135bc75>] ?
xenbus_dev_request_and_reply+0x25/0xb0
May 29 23:28:01 jango kernel: [ 245.722034] [<ffffffff8135e2de>] ?
xenbus_file_write+0x27e/0x540
May 29 23:28:01 jango kernel: [ 245.722041] [<ffffffff811aa442>] ?
__sb_start_write+0x42/0xd0
May 29 23:28:01 jango kernel: [ 245.722047] [<ffffffff811a8082>] ?
vfs_write+0xb2/0x1f0
May 29 23:28:01 jango kernel: [ 245.722053] [<ffffffff811a8bc2>] ?
SyS_write+0x42...