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

Skip to content
Commit ab7ff284 authored by Ravikanth Tuniki's avatar Ravikanth Tuniki Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: add check for buffer length before copy



Length of the buffer to be copied is checked
against both source and destination buffer lengths
before copying. This ensures that there is  no
buffer overflow while reading as well as writing.

Change-Id: Ie261a0d3f4917a94a7348ac5aa7e188130aed865
Signed-off-by: default avatarRavikanth Tuniki <rtunik@codeaurora.org>
Signed-off-by: default avatarRahul Sharma <rahsha@codeaurora.org>
parent 3917b70f
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