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

Skip to content
Commit 0d3d43d9 authored by Ashish Chavan's avatar Ashish Chavan Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-qg: Fix kernel memory corruption error in qg_device_read



qg_device_read function does not validate the count. So, a call
made to this function with data_size greater than count may lead
to kernel memory corruption.

Change-Id: I8b62f94d81317569c04dceec4e9271a77a493d28
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent 0e19b93e
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