View | Details | Raw Unified | Return to bug 208767
Collapse All | Expand All

(-)files/patch-source3_client_smbspool_krb5_wrapper.c (+11 lines)
Line 0 Link Here
1
--- source3/client/smbspool_krb5_wrapper.c.orig	2016-04-13 19:37:54 UTC
2
+++ source3/client/smbspool_krb5_wrapper.c
3
@@ -195,7 +195,7 @@ int main(int argc, char *argv[])
4
 	 * Make sure we do not have LD_PRELOAD or other security relevant
5
 	 * environment variables set.
6
 	 */
7
-	clearenv();
8
+	environ[0] = NULL;
9
 
10
 	CUPS_SMB_DEBUG("Setting KRB5CCNAME to '%s'", gen_cc);
11
 	setenv("KRB5CCNAME", gen_cc, 1);

Return to bug 208767