msm: sde: check buffer size before writing to user buffer
Check the number of bytes to copy against the size of the
user buffer before copy to user to avoid buffer overflow.
Change-Id: I95083227cfefaf1a81815296145b0c370127e061
Signed-off-by:
Harsh Sahu <hsahu@codeaurora.org>
Loading
Please register or sign in to comment