mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
util/nvmutil: extra overflow check in prw
do it at the very end Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1750,7 +1750,7 @@ try_rw_again:
|
|||||||
}
|
}
|
||||||
errno = saved_errno;
|
errno = saved_errno;
|
||||||
|
|
||||||
return r;
|
return rw_over_ssize_max(r);
|
||||||
|
|
||||||
err_prw:
|
err_prw:
|
||||||
errno = EIO;
|
errno = EIO;
|
||||||
|
|||||||
Reference in New Issue
Block a user