mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
util/nvmutil: cast rnum pointer check
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1744,7 +1744,7 @@ io_args(int fd, void *mem, size_t nrw,
|
||||
goto err_io_args;
|
||||
|
||||
if (mem != (void *)pad
|
||||
&& mem != rnum
|
||||
&& mem != (void *)rnum
|
||||
&& (mem < (void *)buf || mem >= (void *)(buf + GBE_FILE_SIZE)))
|
||||
goto err_io_args;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user