diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 01:59:45 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:41 +0000 |
| commit | 4b667f0d195036fe0107089a0623366f45592e62 (patch) | |
| tree | 10efa08296ac4d8959d908649ea9c1849dbe0e82 /util/sbase/libutf/fputrune.c | |
| parent | 572f00e7b7906ae0add8c27c9967124ca7d8c170 (diff) | |
util/nvmutil: stricter return in pread
we were returning if verified is not off, but we
were not doing the check soon enough.
now it's clearer: just after either a reset,
or we found out offset doesn't match, we
return sooner.
otherwise, we read, and we verify again right
after. in the old code, we verified twice in
a row.
this is just more optimal, for error handling.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/libutf/fputrune.c')
0 files changed, 0 insertions, 0 deletions
