forked from rubenslte/android_kernel_samsung_msm8226
For ADM_CMDRSP_GET_PP_PARAMS_V5 cmd response, the check for data payload_size is incorrect. Modify the check condition to make sure there is enough data to copy, size is contained in payload[3]. Change-Id: I2f155ad8b302e89131ee85cfc72e4009dda617d3 Signed-off-by: Soumya Managoli <smanag@codeaurora.org> CVE-2019-14038 Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>