Hi, > This patch allows, for example, uinput to be used to create virtual > absolute input devices. This lets you build external systems which share > physical input devices between guests.
Ah, interesting.
> +static bool input_linux_abs_range_is_valid(int min, int max)
> +{
> + int64_t difference = ((int64_t) max) - ((int64_t) min);
> + return difference > 0 && difference <= INT_MAX;
> +}
Does this happen in practice?
If so we might consider improving ui/input.c instead.
cheers,
Gerd
