Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-15 01:01:10 +00:00
parent b09f52547f
commit d148985e61
+1 -1
View File
@@ -2158,7 +2158,7 @@ io_args(int fd, void *mem, size_t nrw,
if (fd < 0)
goto err_io_args;
/* prevent signed negative check */
/* negative offset */
if (off < 0)
goto err_io_args;