Created attachment 36595 [details] [review] Patch to fix the problem The functions EvdevAddRelClass and EvdevAddAbsClass do out off bounds accesses to vals and old_vals arrays in the EvdevRec structure if there are more than MAX_VALUATORS axes reported by the kernel.
ACK, can I have your signed-off-by please for this patch please? Just stating it here will do. What the sign-off means (applies to us in the same way as to the kernel): http://www.mjmwired.net/kernel/Documentation/SubmittingPatches#286 For the future, please submit patches as git-formatted patches. http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches I've fixed this up for this one, so don't bother creating another one.
Thanks for the comments, the attached patch is Signed-of-by: Alexander Warg <alexander.warg@os.inf.tu-dresden.de>
thanks, committed commit 421585fda6ce67c209d43952109dda056ee40941 Author: Alex Warg <alexander.warg@os.inf.tu-dresden.de> Date: Wed Jun 30 10:33:46 2010 +1000 Fix out-of-bounds access if more than MAX_VALUATORS are present. (#28809)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.