diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-16 16:15:59 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-16 16:15:59 +0300 |
commit | c39946a2e2d062025c9fc8b34587dfdd45fd8703 (patch) | |
tree | 30326b7ad7ab94a6c936506636cf93d63b300384 /arch | |
parent | d0dab9336db08bf562dd7ded4a417efd8570cee7 (diff) | |
parent | 92cf458f8ad9410dedbedd41d048d26620ce5f12 (diff) | |
download | u-boot-c39946a2e2d062025c9fc8b34587dfdd45fd8703.tar.xz |
Merge branch '2021-07-15-assorted-fixes'
- Large number of Coverity reported issues addressed
- m41t62 bugfix
- Support more Android image compression formats
- FIT + DTO bugfix
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/cpu/state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c index f63cfd38ee..a4d99bade4 100644 --- a/arch/sandbox/cpu/state.c +++ b/arch/sandbox/cpu/state.c @@ -78,6 +78,10 @@ static int state_read_file(struct sandbox_state *state, const char *fname) err_read: os_close(fd); err_open: + /* + * tainted scalar, since size is obtained from the file. But we can rely + * on os_malloc() to handle invalid values. + */ os_free(state->state_fdt); state->state_fdt = NULL; |