[PATCH] dix: memset DeviceVelocityPtr to zero.
Adam Jackson
ajax at nwnk.net
Thu Nov 20 10:25:55 PST 2008
On Thu, 2008-11-20 at 14:00 +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>
> ---
> I ran into this when testing the ptraccel property code - turns out
> deviceSpecificProfile is garbage most of the time. Which is bad if you
> switch profiles run-time. So let's memset the whole thing before initialising
> it properly.
>
> dix/ptrveloc.c | 11 ++---------
> 1 files changed, 2 insertions(+), 9 deletions(-)
Signed-off-by: Adam Jackson <ajax at redhat.com>
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081120/0fc5cc2b/attachment.pgp>
More information about the xorg
mailing list