Re: [PATCH synaptics] Avoid out-of-bounds access by running num_active_touches 0 (#49439)

2012-05-14 Thread Chase Douglas
On 05/10/2012 07:30 PM, Peter Hutterer wrote: If a touch is active during driver init, the slot will be set to SLOTSTATE_CLOSE when it finishes. That could decrease num_active_touches to less than 0, causing out-of-bounds access. X.Org Bug 49439

Re: [PATCH synaptics] Avoid out-of-bounds access by running num_active_touches 0 (#49439)

2012-05-14 Thread Peter Hutterer
On Mon, May 14, 2012 at 10:02:24AM -0700, Chase Douglas wrote: On 05/10/2012 07:30 PM, Peter Hutterer wrote: If a touch is active during driver init, the slot will be set to SLOTSTATE_CLOSE when it finishes. That could decrease num_active_touches to less than 0, causing out-of-bounds

[PATCH synaptics] Avoid out-of-bounds access by running num_active_touches 0 (#49439)

2012-05-10 Thread Peter Hutterer
If a touch is active during driver init, the slot will be set to SLOTSTATE_CLOSE when it finishes. That could decrease num_active_touches to less than 0, causing out-of-bounds access. X.Org Bug 49439 http://bugs.freedesktop.org/show_bug.cgi?id=49439 Signed-off-by: Peter Hutterer