Hi. :) I made a program that calls XGetDeviceControl. first, it seems work fine. but after a while, it always crash when I alloc another memory. after some digging out, I found that XGetDeviceControl screws up the memory allocation table on libc. XGetDeviceControl in git(https://bugs.freedesktop.org/enter_bug.cgi?product=xorg) at line #122, it allocates memory for xDeviceAbsCalibState(small "x"). but XDeviceAbsCalibState(large "X") is filled on that memory. acturally, the size of the structures are different. I'm working with DEVICE_ABS_CALIB parameter. but, DEVICE_ABS_AREA, DEVICE_CORE, DEVICE_ENABLE controls seems to be at the same situation. Regards
Fixed with cbdc33d903ec6f90a42ec3c31905eeaef9ecf0a2, thanks for reporting.
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.