[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix bind-IPI hypercall arg check.
ChangeSet 1.1317, 2005/03/18 09:15:33+00:00, kaf24@xxxxxxxxxxxxxxxxxxxx Fix bind-IPI hypercall arg check. Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> event_channel.c | 3 +++ 1 files changed, 3 insertions(+) diff -Nru a/xen/common/event_channel.c b/xen/common/event_channel.c --- a/xen/common/event_channel.c 2005-03-18 05:04:52 -05:00 +++ b/xen/common/event_channel.c 2005-03-18 05:04:52 -05:00 @@ -283,6 +283,9 @@ struct domain *d = ed->domain; int port, ipi_edom = bind->ipi_edom; + if ( ipi_edom >= MAX_VIRT_CPUS ) + return -EINVAL; + spin_lock(&d->event_channel_lock); if ( (port = get_free_port(ed)) >= 0 ) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |