Disable environment hooks after we get user_env back to make sure
a plugin can't to modify user_env after we "own" it. This is kind of a hack but we don't want the init_session plugin function to modify user_env.
This commit is contained in:
@@ -231,6 +231,7 @@ int process_hooks_getenv(const char *name, char **val);
|
||||
int process_hooks_setenv(const char *name, const char *value, int overwrite);
|
||||
int process_hooks_putenv(char *string);
|
||||
int process_hooks_unsetenv(const char *name);
|
||||
void deregister_env_hooks(void);
|
||||
|
||||
/* interfaces.c */
|
||||
int get_net_ifs(char **addrinfo);
|
||||
|
Reference in New Issue
Block a user