Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-28 09:12:15 +00:00
parent c4ff9e5763
commit 93ecd26306
2 changed files with 19 additions and 0 deletions
+6
View File
@@ -821,6 +821,12 @@ err:
}
#endif
/* TODO: potential infinite loop under entropy failure.
* e.g. keeps returning low quality RNG, or atacker
* has control (DoS attack potential).
* possible solution: add a timeout (and abort if
* the timeout is reached)
*/
int
mkhtemp_fill_random(char *p, size_t xc)
{