mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
@@ -2158,7 +2158,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 signed negative check */
|
/* negative offset */
|
||||||
if (off < 0)
|
if (off < 0)
|
||||||
goto err_io_args;
|
goto err_io_args;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user