<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:b.harrington@samsung.com" title="Bryce Harrington <b.harrington@samsung.com>"> <span class="fn">Bryce Harrington</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Weston crash when touch->focus null"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92736">bug 92736</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Weston crash when touch->focus null"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92736#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Weston crash when touch->focus null"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92736">bug 92736</a>
from <span class="vcard"><a class="email" href="mailto:b.harrington@samsung.com" title="Bryce Harrington <b.harrington@samsung.com>"> <span class="fn">Bryce Harrington</span></a>
</span></b>
<pre>Thanks Guanghua, good find. Looks like we were checking the pointer in the
function, but only after it was used.
I've pushed a slightly modified version of your patch to trunk. Thanks again!
commit 2c40d1d30eabe46706822a8b5c94579aeba58e84
Author: Bryce Harrington <<a href="mailto:bryce@bryceharrington.org">bryce@bryceharrington.org</a>>
AuthorDate: Tue Feb 2 10:18:48 2016 -0800
Commit: Bryce Harrington <<a href="mailto:bryce@bryceharrington.org">bryce@bryceharrington.org</a>>
CommitDate: Tue Feb 2 10:36:44 2016 -0800
input: Fix crash when touchscreen generates out of screen coordinate
With change 61ed7b6b, global touch coordinates are being passed to the
touch grab. However, touch->grab is undefined in certain circumstances
such as when the touch screen raises an axis X value larger than the
maximum expected. Move the check for this condition earlier, before our
first use of the pointer.
Fixes: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Weston crash when touch->focus null"
href="show_bug.cgi?id=92736">https://bugs.freedesktop.org/show_bug.cgi?id=92736</a>
Reviewed-by: Bryce Harrington <<a href="mailto:bryce@osg.samsung.com">bryce@osg.samsung.com</a>>
Reviewed-by: Derek Foreman <<a href="mailto:derekf@osg.samsung.com">derekf@osg.samsung.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>