[PATCH libinput 1/9] evdev: Dynamically allocate slot array

Daniel Stone daniel at fooishbar.org
Wed Apr 9 12:33:34 PDT 2014


Hi,

On 9 April 2014 20:02, Jonas Ådahl <jadahl at gmail.com> wrote:

> Don't have a hard coded (previously 16) slot array size; instead
> allocate dynamically depending what slots are assigned. There is still a
> hard coded max though, to protect from invalid input, but its changed
> to 60.
>

Won't this break xf86-input-libinput, which processes events inside a
signal handler, and thus can't use malloc()?

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140409/a1d664fc/attachment.html>


More information about the wayland-devel mailing list