defuzz sys_umask patch
This commit is contained in:
parent
9aeb2ae9a5
commit
121c7e0916
@ -26,8 +26,8 @@ diff -urp cpio-2.9.90-orig/src/main.c cpio-2.9.90/src/main.c
|
||||
--- cpio-2.9.90-orig/src/main.c 2008-08-25 16:42:48.000000000 +0200
|
||||
+++ cpio-2.9.90/src/main.c 2009-02-10 17:44:47.000000000 +0100
|
||||
@@ -790,6 +790,7 @@ main (int argc, char *argv[])
|
||||
program_name = argv[0];
|
||||
|
||||
set_program_name (argv[0]);
|
||||
argp_version_setup ("cpio", program_authors);
|
||||
process_args (argc, argv);
|
||||
+ sys_umask = umask(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user