[PATCH 1/1] sandbox: check lseek return value in handle_ufi_command
Simon Glass
sjg at chromium.org
Wed Nov 23 03:11:11 CET 2022
Invoking lseek() may result in an error. Handle it.
Addresses-Coverity-ID: 376212 ("Error handling issues (CHECKED_RETURN)")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
drivers/usb/emul/sandbox_flash.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list