Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362551 - An patch for environment variable pollution issues
Summary: An patch for environment variable pollution issues
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: SCI (show other bugs)
Version: unspecified   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: 6.0   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 05:27 EDT by rong li CLA
Modified: 2012-05-25 13:52 EDT (History)
0 users

See Also:


Attachments
An patch for environment variable pollution issues (7.60 KB, patch)
2011-11-01 05:30 EDT, rong li CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rong li CLA 2011-11-01 05:27:30 EDT
Build Identifier: 

In this patch, it includes the fix for an environment variable pollution issues.

In the embeded agent mode, the agent will package its environment variables "extern char **environ;" and send them to its children.
When the children received the environment variables, it parsed them and set the same value into its own env. It will bring issues.
So right now, in the parent(agent), it will only package the necessary environment variables and send them to its children. It should not pass all its env.

Reproducible: Always
Comment 1 rong li CLA 2011-11-01 05:30:02 EDT
Created attachment 206252 [details]
An patch for environment variable pollution issues
Comment 2 Greg Watson CLA 2012-05-25 13:52:59 EDT
Applied to master.