summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 08:50:09 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-19 08:50:09 +0000
commit7ad924a91f6800de4fdd89dbc390d6c46d78a861 (patch)
tree60e50e914a5eaa4c7822cf29e054fa7db88845a9 /util/nvmutil
parent50300f846fc1861efe01c104a7ce9c483e3afcf1 (diff)
nvmutil: make tmpdir string much more randomHEADmaster
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>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/lib/file.c b/util/nvmutil/lib/file.c
index 406c4618..f90ecdba 100644
--- a/util/nvmutil/lib/file.c
+++ b/util/nvmutil/lib/file.c
@@ -212,7 +212,7 @@ new_tmpfile(int *fd, int local, const char *path)
*/
char tmp_none[] = "";
char tmp_default[] = "/tmp";
- char default_tmpname[] = "tmpXXXXXX";
+ char default_tmpname[] = "tmpXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
char *tmpname;
char *base = NULL;