summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 08:50:09 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:42 +0000
commit1c210e38570ff3597498d175ee6f500cbd1e4333 (patch)
treebe2629974f7181ee7451bd0bfef807ceb3f9e377 /util
parent113f2db37cfbb88adf69b0132e8d05e98e333caf (diff)
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>
Diffstat (limited to 'util')
-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;