nvmutil: make tmpdir string much more random

more random characters

i added support for higher than the standard 6
characters so i can go nuts

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-19 08:50:09 +00:00
parent 50300f846f
commit 7ad924a91f

View File

@@ -212,7 +212,7 @@ new_tmpfile(int *fd, int local, const char *path)
*/ */
char tmp_none[] = ""; char tmp_none[] = "";
char tmp_default[] = "/tmp"; char tmp_default[] = "/tmp";
char default_tmpname[] = "tmpXXXXXX"; char default_tmpname[] = "tmpXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
char *tmpname; char *tmpname;
char *base = NULL; char *base = NULL;