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

Skip to content
Commit ba3e3d95 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Don't allow userspace to pass in an invalid size



We currently allow userspace to pass in size zero for our cache
range operations without any checks. Calling dma cache range
operations with zero size is very problematic and results in a
kernel panic.

Change-Id: Ic60d622c06b26e55296aed584e8c87bc9ad3ca37
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent ae3894e8
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