]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
uboot-sign: Fix potential index error issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Jun 2022 08:58:35 +0000 (09:58 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 15 Jun 2022 14:33:06 +0000 (04:33 -1000)
commitea280917fc16a61b50738ddd03a6f85305f82cb0
treefecd6b71a4e9f74e4baf4d61c688d1e798472db2
parentb85e29de4bca17834b003d499db5129fc5dee75e
uboot-sign: Fix potential index error issues

Someone reported that if some other shell function has left i or j set,
the concat_dtb_helper function could fail. Add a small tweak to avoid this.

[YOCTO #14815]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d219c97bdf5d30be89795fbf9b66ddc367bef384)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/uboot-sign.bbclass