linux/drivers/soc
Bjorn Andersson 01625cc5e6 remoteproc: qcom: mdt_loader: Use signed type for offset
In the transition from using rproc_da_to_va(), the type of the load
offset became unsigned. This causes the subsequent check to let negative
values less than p_memsz + mem_size through and we write outside of the
buffer.

Change the type back to a signed value to catch this.

Fixes: 7f0dd07a9b ("remoteproc: qcom: mdt_loader: Refactor MDT loader")
Fixes: e7fd252262 ("remoteproc: qcom: q6v5: Decouple driver from MDT loader")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-02-22 02:07:13 -08:00
..
bcm soc: raspberrypi-power: add CONFIG_OF dependency 2016-07-07 14:58:38 +02:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
mediatek soc: mediatek: Add MT2701 scpsys driver 2016-10-31 00:58:58 +01:00
qcom remoteproc: qcom: mdt_loader: Use signed type for offset 2017-02-22 02:07:13 -08:00
renesas ARM: SoC driver updates for v4.10 2016-12-15 16:03:25 -08:00
rockchip soc: rockchip: power-domain: Handle errors from of_genpd_add_provider_onecell 2016-11-11 02:14:59 +01:00
samsung ARM: EXYNOS: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
sunxi drivers: soc: sunxi: Fix mask generation for SRAM mapping 2016-01-27 20:29:20 +01:00
tegra soc/tegra: pmc: Use consistent naming for PM domains 2016-11-15 15:51:56 +01:00
ti soc: ti: qmss: fix the case when !SMP 2016-11-30 22:10:23 +01:00
ux500 ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
versatile soc: versatile: dynamically detect RealView HBI numbers 2016-04-04 10:58:47 +02:00
Kconfig soc: fsl: add GUTS driver for QorIQ platforms 2016-11-29 09:17:20 +01:00
Makefile This is a set of cleanups for the Ux500 that reduce the number 2016-07-14 15:23:19 +02:00