[RAMEN9610-12171] ion: fix stack-out-of-bounds
authorhyesoo.yu <hyesoo.yu@samsung.com>
Tue, 11 Dec 2018 08:53:54 +0000 (17:53 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 14 Feb 2019 16:20:43 +0000 (01:20 +0900)
commita4a185ad2f4abc106cacffe4faa974f64c0e9b0e
tree9c71fcbeba854cad695a00465f1135c6baf46bde
parente69a00d3de113c9d257d8ce3dbff478984b7ad06
[RAMEN9610-12171] ion: fix stack-out-of-bounds

The align variable is 4bytes but casted with 8bytes,
so it makes stack-out-of-bounds problem.

Change-Id: I458b42cc953c18a6f28bdba20c262fe5eaeb5a60
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/staging/android/ion/ion_buffer_protect.c