Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libfdt: Fix undefined behaviour in fdt_offset_ptr() | David Gibson | 2018-07-19 | 1 | -6/+7 |
| | | | | | | | | | | | | Using pointer arithmetic to generate a pointer outside a known object is, technically, undefined behaviour in C. Unfortunately, we were using that in fdt_offset_ptr() to detect overflows. To fix this we need to do our bounds / overflow checking on the offsets before constructing pointers from them. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> | ||||
* | libfdt: Initial import | Sebastian Huber | 2015-10-16 | 1 | -0/+250 |
Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z |