commit | c668b158a0c82d3f6aae45383d79d9b99998dcba | [log] [tgz] |
---|---|---|
author | Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> | Thu Mar 21 19:31:54 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 10 09:34:53 2024 -0600 |
tree | 4ada605f85bf1eb9abb18b456f46f88a282b3555 | |
parent | be74019e91c3a06aae6290104260c3ac37ddd68f [diff] |
tools: open FIT image read-only Open for reading as O_RDONLY instead of O_RDWR: the only usage of the fd is for the single read() below; this prevented mkimage -f auto -A arm64 \ -T kernel -C lz4 -d Image-6.6.15.lz4 \ -b mt8173-elm-hana-6.6.15.dtb outf when the inputs were unwritable. Link: https://bugs.debian.org/1063097 Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Reviewed-by: Dragan Simic <dsimic@manjaro.org>