disp: msm: sde: add check before buffer copy
This change adds a check for the length of the buffer
before copying it to avoid a buffer overflow.
Change-Id: Ie6a08613d32f0975624e7035ab0f6cfdab42013b
Signed-off-by:
Rahul Sharma <rahsha@codeaurora.org>
Loading
Please register or sign in to comment