summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-06-19 14:20:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-20 11:00:16 +1000
commit734aadb4871c6190328fc70f88931fe896df4de5 (patch)
tree24b8dac5241e352dfada511efb9b9e1a6b7eafb4 /include
parent2ff45c73a1ce5577a4a06cf255a394d3c93d0915 (diff)
downloadlibevdev-734aadb4871c6190328fc70f88931fe896df4de5.tar.gz
uinput: change strcpy/strcat usage for snprintf
Better protection against buffer overflow, though by the time someone is manipulating your sysfs, libevdev is unlikely to be the biggest worry. Slight change in functionality: before we checked the timestamp of /sys/devices/virtual/input/inputXYZ before looking at /inputXYZ/name, now we just check the name file for the timestamp. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions