Don't access event buffer after realloc
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 24 Dec 2013 03:46:20 +0000 (13:46 +1000)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 7 Jan 2014 20:27:30 +0000 (21:27 +0100)
commitfaee8fe1a7e13fdc7e6c3d89291e0fe7ad9a3576
tree19689537d1f85b185201227cc1feed1e468917f7
parent4c41c6b2da0431ccd5a8653af2de961a3b364da0
Don't access event buffer after realloc

realloc() may free the original event buffer, don't access it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput.c