mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +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;
|
||||
|
||||
return r;
|
||||
return rw_over_ssize_max(r);
|
||||
|
||||
err_prw:
|
||||
errno = EIO;
|
||||
|
||||
Reference in New Issue
Block a user