blob: cf9689c67396109b4d07d20a53b9092d372beca1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/polkit-grant/polkit-explicit-grant-helper.c.orig 2007-12-23 01:24:19.000000000 -0500
+++ src/polkit-grant/polkit-explicit-grant-helper.c 2007-12-23 01:24:24.000000000 -0500
@@ -67,7 +67,7 @@ main (int argc, char *argv[])
ret = 1;
/* clear the entire environment to avoid attacks using with libraries honoring environment variables */
- if (clearenv () != 0)
+ if (polkit_sysdeps_clearenv () != 0)
goto out;
/* set a minimal environment */
setenv ("PATH", "/usr/sbin:/usr/bin:/sbin:/bin", 1);
|