]> granicus.if.org Git - gc/commit
Fix 'too wide non-owner permissions are set for resource' code defect
authorIvan Maidanski <ivmai@mail.ru>
Mon, 12 Nov 2018 07:52:01 +0000 (10:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 12 Nov 2018 17:45:19 +0000 (20:45 +0300)
commit5260eb0d79231a2a0800a38a037d361d3502ab48
tree0aa329f2b8720f1cd6e3f5dbc5a17bb9943fab99
parent5407e712dd7c381c857827cdaf2902158213e07d
Fix 'too wide non-owner permissions are set for resource' code defect

* misc.c [(UNIX_LIKE && !GC_ANDROID_LOG || CYGWIN32 || SYMBIAN)
&& !SMALL_CONFIG] (GC_init): Pass 0644 permissions mode instead of 0666
to open (create) a log file.
* os_dep.c [MMAP_SUPPORTED && !USE_MMAP_ANON && SYMBIAN]
(GC_unix_mmap_get_mem): Pass 0644 mode instead of 0666 to open "zero"
file.
misc.c
os_dep.c