mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
@@ -2151,7 +2151,7 @@ io_args(int fd, void *mem, size_t nrw,
|
|||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
goto err_io_args;
|
goto err_io_args;
|
||||||
|
|
||||||
/* prevent underflow */
|
/* prevent signed negative check */
|
||||||
if (off < 0)
|
if (off < 0)
|
||||||
goto err_io_args;
|
goto err_io_args;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user