CVE-2013-4476: lib-util: split out file_save_mode() from file_save()
commite74797cc61151632ce7c440a42579fcd794ab42d
authorBjörn Baumbach <bb@sernet.de>
Tue, 29 Oct 2013 16:48:11 +0000 (29 17:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 8 Nov 2013 09:14:31 +0000 (8 10:14 +0100)
treec531f87a09ac0c67cee4ab7ef7ae492df410985a
parent13566a5398d802102deb492bede242217143cfa0
CVE-2013-4476: lib-util: split out file_save_mode() from file_save()

file_save_mode() writes files with specified mode.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/util/samba_util.h
lib/util/util_file.c