[U-Boot] [PATCH v2 12/31] binman: Call ProcessUpdateContents() consistently

sjg at google.com sjg at google.com
Thu Jul 18 01:58:49 UTC 2019


SetContents() should only be called to set the contents of an entry from
within the ObtainContents() call, since it has no guard against increasing
the size of the contents, thus triggering incorrect operation.

Change all such calls to use ProcessUpdateContents() instead.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 tools/binman/etype/blob_dtb.py     | 2 +-
 tools/binman/etype/fdtmap.py       | 2 +-
 tools/binman/etype/fmap.py         | 2 +-
 tools/binman/etype/image_header.py | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list