Loading
msm: sde: Add check for plane_count range in SDE rotator
Buffer plane_count is provided from user, and it is necessary to check
the range of the given value is within MAX_PLANES definition. Without
the check can cause possible buffer overrun access.
Change-Id: I96d914d63dd504cc2b0c50424986f4d7333e5d8d
Signed-off-by:
Benjamin Chan <bkchan@codeaurora.org>