msm: kgsl: Fix Integer overflow in sparse_bind related functions

There could be possibility of integer overflow on adding
offset with size and result into a value smaller than
memdesc size.

CRs-Fixed: 1109776
Change-Id: I3746f34c9fb8ada28a9b6ed438ca8c296b69e752
Signed-off-by: Sudeep Yedalapure <sudeepy@codeaurora.org>
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
1 file changed