mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user