]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: smem: verify partition offset_free_uncached
authorAlex Elder <elder@linaro.org>
Tue, 26 Jun 2018 00:58:53 +0000 (19:58 -0500)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 21:57:06 +0000 (16:57 -0500)
commitd91d0b35e4db61b598ed3f23c81be49941705626
tree1f059f1d290f087b858eef9d27b812dbf0932519
parentb8a3302a2b5d1d1cdc0cdb23d480f0306383f4b1
soc: qcom: smem: verify partition offset_free_uncached

Add verification in qcom_smem_partition_header() that the
offset_free_uncached field in a partition's header structure does
not exceed the partition's size.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smem.c