platform_external_dtc/libfdt
Jan Beulich 73d6e9ecb4 libfdt: fix undefined behaviour in fdt_splice_()
libfdt: fix undefined behaviour in fdt_splice_()

Along the lines of commit d0b3ab0a0f ("libfdt: Fix undefined behaviour
in fdt_offset_ptr()"), fdt_splice_() similarly may not use pointer
arithmetic to do overflow checks. (The left side of the checks added by
d4c7c25c9e ["libfdt: check for potential overrun in _fdt_splice()"]
doesn't really lend itself to similar replacement though.)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Message-Id: <f2d09e81-7cb8-c5cc-9699-1ac05b0626ff@suse.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-03-06 12:58:54 +11:00
..
.gitignore Link tools and tests against libfdt shared library 2019-03-29 17:20:16 +11:00
fdt.c libfdt: Use VALID_INPUT for FDT_ERR_BADSTATE checks 2020-03-03 09:59:55 +11:00
fdt.h libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_addresses.c libfdt: Allow #size-cells of 0 2019-07-28 16:31:44 +10:00
fdt_check.c libfdt: Allow exclusion of fdt_check_full() 2020-02-24 13:38:44 +11:00
fdt_empty_tree.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_overlay.c Remove trailing zero from the overlay path 2019-11-15 20:42:47 +11:00
fdt_ro.c libfdt: Add support for disabling internal checks 2020-03-03 09:59:55 +11:00
fdt_rw.c libfdt: fix undefined behaviour in fdt_splice_() 2020-03-06 12:58:54 +11:00
fdt_strerror.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_sw.c libfdt: Use VALID_INPUT for FDT_ERR_BADSTATE checks 2020-03-03 09:59:55 +11:00
fdt_wip.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
libfdt.h libfdt: De-inline fdt_header_size() 2020-02-24 13:38:44 +11:00
libfdt_env.h libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
libfdt_internal.h libfdt: Add support for disabling internal checks 2020-03-03 09:59:55 +11:00
Makefile.libfdt libfdt: Allow exclusion of fdt_check_full() 2020-02-24 13:38:44 +11:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
version.lds libfdt: De-inline fdt_header_size() 2020-02-24 13:38:44 +11:00