Hi, Here are patches to fix bootconfig size overflow issue. If there is a wrong bootconfig size is recorded, it can bypass the size check in the tool and the kernel.
The previous version only fixes tools, but Sashiko found the same issue in the kernel. So this version add that fix. Here is the previous version. https://lore.kernel.org/all/178900114498.187028.9558747732041210116.stgit@devnote2/ Thank you, --- Masami Hiramatsu (Google) (2): tools/bootconfig: Fix integer overflow and truncation in size checks bootconfig: Fix integer overflow in initrd size check init/main.c | 14 ++++++++++---- tools/bootconfig/main.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 5 deletions(-) -- Masami Hiramatsu (Google) <[email protected]>
