On 16/02/17 17:23, Jan Beulich wrote:
> We particularly want/need to avoid accessing data outside (ahead of)
> the ring buffer. Also latch both pointers into local variable to
> avoid different steps of the calculation being done with different
> values.
>
> Reported-by: Quan Luo
> Signed-off-by:
We particularly want/need to avoid accessing data outside (ahead of)
the ring buffer. Also latch both pointers into local variable to
avoid different steps of the calculation being done with different
values.
Reported-by: Quan Luo
Signed-off-by: Jan Beulich
--- a/xen/drivers/char/console.c
+++