diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 19:55:27 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-19 20:01:57 +0000 |
| commit | 3a0460607dbb66094a26231c3fdb23b27305294a (patch) | |
| tree | a3efd6d977d7b397455464ba3a187b35b0dcce8d /resources/scripts/misc/versioncheck | |
| parent | 2c211d385eb3efdd184895cefb4e242593f8107e (diff) | |
err if buf NULL, len -1
also getrandom may return fewer bytes, so
loop that too.
why can't linux be like bsd? bsd is:
arc4random_buf(buf, len);
no checks needed. it never errs.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/misc/versioncheck')
0 files changed, 0 insertions, 0 deletions
