From: Günther Deschner Date: Wed, 14 Sep 2016 16:13:39 +0000 (+0200) Subject: libgpo: allow empty values in gp inifile parsing code. X-Git-Tag: talloc-2.1.9~456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c586c3d962e8ee57e90f76147b458e1bea0ed988;p=thirdparty%2Fsamba.git libgpo: allow empty values in gp inifile parsing code. Guenther Signed-off-by: Guenther Deschner Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Jan 6 16:16:02 CET 2017 on sn-devel-144 --- diff --git a/libgpo/gpo_ini.c b/libgpo/gpo_ini.c index 95673bce13a..198e8afc1ec 100644 --- a/libgpo/gpo_ini.c +++ b/libgpo/gpo_ini.c @@ -377,10 +377,11 @@ NTSTATUS gp_inifile_init_context_direct(TALLOC_CTX *mem_ctx, goto failed; } - rv = pm_process(tmp_filename != NULL ? tmp_filename : unix_path, - change_section, - store_keyval_pair, - gp_ctx); + rv = pm_process_with_flags(tmp_filename != NULL ? tmp_filename : unix_path, + true, + change_section, + store_keyval_pair, + gp_ctx); if (rv != 0) { return NT_STATUS_NO_SUCH_FILE; }