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

Commit fb01f30b authored by Terence Hampson's avatar Terence Hampson
Browse files

mdss: rotator: validate rotation request ROI with img dimensions



Prevent accessing memory beyond buffer size. Prior to this check
rotator was page faulting trying to handle invalid requests, in which
offset + region of interest size was greater than the image size.

Change-Id: Ifffed0e908b29fb6e326314ec1eda148bb72db64
Signed-off-by: default avatarTerence Hampson <thampson@codeaurora.org>
parent ad9fe5a4
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