Stefano Stabellini ac0487e1d2 xenfb.c: avoid expensive loops when prod <= out_cons
If the frontend sets out_cons to a value higher than out_prod, it will
cause xenfb_handle_events to loop about 2^32 times. Avoid that by using
better checks at the beginning of the function.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reported-by: Ling Liu <liuling-it@360.cn>
2016-01-14 16:49:11 +00:00
..
2014-07-11 10:17:02 +02:00
2015-05-19 11:40:01 +02:00
2015-06-22 18:20:40 +02:00
2015-09-11 10:45:43 +03:00
2014-04-28 10:21:55 +02:00
2015-02-13 14:09:28 +00:00
2015-10-20 09:26:36 +02:00