diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-14 00:02:57 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-14 00:21:10 +0000 |
| commit | ba2100fbf5c13864bc3a3842f98f55c777129d19 (patch) | |
| tree | cffc4f058a25c76a28ed08631a86218416bebaaa | |
| parent | 3704119436278862b0d106fc97aadcb9ad8466ca (diff) | |
util/nvmutil: extra overflow check in prw
do it at the very end
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index dba442ce..25e784d9 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -1750,7 +1750,7 @@ try_rw_again: } errno = saved_errno; - return r; + return rw_over_ssize_max(r); err_prw: errno = EIO; |
