Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be8b0e3c authored by Amy Maloche's avatar Amy Maloche Committed by Stephen Boyd
Browse files

input: synaptics_i2c_rmi4: allocate memory for interrupt status



In synaptics_rmi4_i2c_read, intr_status is a char variant.  So
if num_of_intr_regs > 1, then intr_status will write 2 bytes.  This
will destroy the stack, so avoid it.

Change-Id: I5c16e491a84d3f8dd96a11810c060944a457b99a
Signed-off-by: default avatarAmy Maloche <amaloche@codeaurora.org>
parent e45522f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment