Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-15 00:26:51 +00:00
parent f0905cd7ec
commit 36851df55f

View File

@@ -2151,7 +2151,7 @@ io_args(int fd, void *mem, size_t nrw,
if (fd < 0)
goto err_io_args;
/* prevent underflow */
/* prevent signed negative check */
if (off < 0)
goto err_io_args;