summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/csky/pmu.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-07-14 10:11:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-07-14 10:45:50 +0200
commit5ef180a46edf8d5041d1bc047fb65a8b47f785ad (patch)
tree925283517e9f60875e30817ce06d61ac7d2a0f78 /dts/Bindings/csky/pmu.txt
parenta88050805ebb07f7fae1919ba21a6f1ed786a3c7 (diff)
downloadbarebox-master.tar.gz
barebox-master.tar.xz
ARM: imx/bbu-external-nand: Fix freeing image copyHEADmaster
imx_bbu_external_nand_update() does: image = memdup(data->image, data->len); ... for (...) { ... image += now; ... } ... free(image) So it's not the original pointer that is passed to free. This results in a hang. Instead use an offset variable and keep image constant. Fixes: 93b564d9acc7 ("ARM: i.MX bbu-external-nand: Do not modify image") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20220714081108.101094-2-u.kleine-koenig@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/csky/pmu.txt')
0 files changed, 0 insertions, 0 deletions