mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user