OSDN Git Service

soc: hab: add size checking when hab import buffer
authorYajun Li <yajunl@codeaurora.org>
Fri, 21 Sep 2018 10:15:22 +0000 (18:15 +0800)
committerYajun Li <yajunl@codeaurora.org>
Fri, 12 Oct 2018 07:23:11 +0000 (15:23 +0800)
commit1eaf1fb7f475fe027785f6739a5af0b1aae0a9b6
tree1e2c197f0a1259347a7fe7b5e9e587d3905f90f5
parent51abefff9fb42c8834acb643d6aa70d855e0cf43
soc: hab: add size checking when hab import buffer

If the input size of import buffer isn't equal to
the real size of this buffer, hab should reject this
import function.

Change-Id: I184a0752d37e9f1bf6a8705ccf8f2fdfd6796d5e
Signed-off-by: Yajun Li <yajunl@codeaurora.org>
drivers/soc/qcom/hab/hab_mimex.c