commit | 9bf95afd43ee1c63fcbae2f2706168558c41307b | [log] [tgz] |
---|---|---|
author | David Brown <david.brown@linaro.org> | Thu Oct 10 15:36:36 2019 -0600 |
committer | David Brown <davidb@davidb.org> | Tue Oct 15 09:41:01 2019 -0600 |
tree | 48332b450205d2141d9452faa59f9c258b72bd29 | |
parent | effb06e367572e48433d9021a937033390b1b43c [diff] |
boot: Check overflow/bounds on image header size Before using the image and header size fields from the image header, verify that both of these values are sane. In this case, sanity means that there is no arithmetic overflow when they are added, and that the result is within the bounds of the containing flash region. This is done in addition to the check of the header's magic number. Signed-off-by: David Brown <david.brown@linaro.org>
This is mcuboot, version 1.4.0-rc1
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables easy software upgrade.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating system it works with. Currently, mcuboot works with both the Apache Mynewt, and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!