]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Call ProcessUpdateContents() consistently
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:34 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit7f9e00a2a6a3aff06572fdf225e51556f85853f4
tree6d9a744c781ae9938a9d0b25125de34d519b66d9
parent5b463fc26ea5a932d40845ec4eac6ff7e968756f
binman: Call ProcessUpdateContents() consistently

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@chromium.org>
tools/binman/etype/blob_dtb.py
tools/binman/etype/fdtmap.py
tools/binman/etype/fmap.py
tools/binman/etype/image_header.py