libinput/src
Jon A. Cruz 96d4fa0364 Add xasprintf to avoid use of undefined pointer values
If asprintf fails for any reason, the contents of the pointer
are undefined. While some platforms set it to NULL, there is no
guarantee that all will.

This change adds a simple wrapper to ensure proper NULL results
on failure.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

Added LIBINPUT_PRINTF attribute and the required declaration for it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-06-01 08:47:14 +10:00
..
evdev-middle-button.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
evdev-mt-touchpad-buttons.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
evdev-mt-touchpad-edge-scroll.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
evdev-mt-touchpad-gestures.c touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads 2015-04-27 11:08:52 +10:00
evdev-mt-touchpad-tap.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
evdev-mt-touchpad.c touchpad: check touchpad for basic features we expect 2015-05-29 12:23:05 +10:00
evdev-mt-touchpad.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
evdev.c evdev: use the udev ID_INPUT_POINTINGSTICK property 2015-05-29 12:23:05 +10:00
evdev.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
filter-private.h filter: switch to normalized_coords 2015-03-19 12:06:48 +10:00
filter.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
filter.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput-private.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput-util.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput-util.h Add xasprintf to avoid use of undefined pointer values 2015-06-01 08:47:14 +10:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput.h Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
path.h path: store the udev device instead of just the devnode 2014-11-25 16:33:01 +10:00
timer.c Add missing config.h includes 2015-06-01 08:20:59 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c Update Red Hat's copyright 2015-05-28 09:58:11 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00