Home
last modified time | relevance | path

Searched hist:"880 b9e8b4c99ad99eee14079d5a6162733ef4931" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/tools/fiptool/
H A Dfiptool.c8e4cdd221034aa260def15874e8f99262eb77930 Sat Jan 27 15:46:59 UTC 2018 Andreas Färber <afaerber@suse.de> fiptool: Fix use after free

Commit 880b9e8b4c99ad99eee14079d5a6162733ef4931 (Add padding at the end
of the last entry) added code using toc_entry pointer, whose memory is
already freed via variable buf. This causes enormous padding on openSUSE.

Free the memory buffer only after padding is done.

Signed-off-by: Andreas Färber <afaerber@suse.de>
880b9e8b4c99ad99eee14079d5a6162733ef4931 Tue Dec 19 11:56:57 UTC 2017 Roberto Vargas <roberto.vargas@arm.com> Add padding at the end of the last entry

This patch adds padding bytes at the end of the last image in the
fip to be able to transfer by DMA the last image.

Change-Id: I8c6f07dee389cb3d1dc919936d9d52841d7e5723
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Signed-off-by: David Cunado <david.cunado@arm.com>