libevdev/libevdev
Peter Hutterer f29008b758 uinput: check for asprintf failure
This doesn't really do much here, but strictly speaking: if asprintf returns
-1, devnode is undefined. So reset it to NULL to avoid weird pointers. And
also free the rest of the names if we ever have more than one device - which
also shouldn't happen.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2014-03-19 09:36:41 +10:00
..
.gitignore Review/update .gitignore files 2013-11-19 09:34:23 +10:00
libevdev-int.h Move some functions/macros between libevdev-int.h and libevdev-util.h 2014-03-06 14:30:03 +10:00
libevdev-names.c Provide separate lookup functions for zero-terminated strings 2013-11-01 08:18:41 +10:00
libevdev-uinput-int.h Add support for uinput device creation 2013-08-29 13:54:46 +10:00
libevdev-uinput.c uinput: check for asprintf failure 2014-03-19 09:36:41 +10:00
libevdev-uinput.h More documentation fixes and improvements 2014-02-12 16:01:10 +10:00
libevdev-util.h Move some functions/macros between libevdev-int.h and libevdev-util.h 2014-03-06 14:30:03 +10:00
libevdev.c Shut up another warning 2014-03-19 09:36:41 +10:00
libevdev.h add a linebreak for correct rendering of the documentation 2014-03-18 15:12:35 +10:00
libevdev.sym Add ld version-script 2014-01-29 15:02:40 +10:00
make-event-names.py Drop the argparse requirement for make-event-names.py 2014-01-15 08:01:31 +10:00
Makefile.am Add ld version-script 2014-01-29 15:02:40 +10:00