summaryrefslogtreecommitdiffstats
path: root/drivers/xen/gntalloc.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-11-28 17:49:09 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-12-16 17:25:54 +0100
commitc3b3f16d1bceb5ac5f21528f889810b4ac5a3596 (patch)
tree1447aa5bd9e3ff8e682dde597485cbfc857e054f /drivers/xen/gntalloc.c
parentxen/granttable: Support transitive grants (diff)
downloadlinux-c3b3f16d1bceb5ac5f21528f889810b4ac5a3596.tar.xz
linux-c3b3f16d1bceb5ac5f21528f889810b4ac5a3596.zip
xen/events: prevent calling evtchn_get on invalid channels
The event channel number provided to evtchn_get can be provided by userspace, so needs to be checked against the maximum number of event channels prior to using it to index into evtchn_to_irq. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/gntalloc.c')
0 files changed, 0 insertions, 0 deletions