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

Skip to content
Commit 5d2dcc8f authored by Ravi Aravamudhan's avatar Ravi Aravamudhan
Browse files

diag: Fix issue with accessing reallocated buffer



Diag driver reallocates its buffer when the data read from SMD is
greater than IN_BUF_SIZE. It uses the old pointer even after
reallocating the buffer resulting in dangling pointer access. This
patch fixes this issue.

Change-Id: I21322f161df51accd0464a47ab0cf469fbb2959f
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent bb047aa5
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