[PATCH] Fix uevent buffer overflow in input layer