diff options
author | Leah Rowe <leah@libreboot.org> | 2022-12-07 22:30:55 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2022-12-07 22:30:55 +0000 |
commit | 960af2d6e8d882d958d25333e7cab864877e37b5 (patch) | |
tree | 1d22d5b07725504c2069037c3e0e57fac86d4d3e /resources/seabios/config/libgfxinit | |
parent | 3d01cf28d618f30e8f1e3670ef0df28da4d29aff (diff) |
util/nvmutil: rhex(): fail if errno not zero
The code was only checking whether all of the bytes were read,
but there are other errors that can be caught via errno.
Enforce strict errno handling, when generating random
numbers for command `setmac`.
Diffstat (limited to 'resources/seabios/config/libgfxinit')
0 files changed, 0 insertions, 0 deletions