Comment 2 for bug 1457183

Revision history for this message
Michael Terry (mterry) wrote :

This appears to be because ubuntu-core-launcher runs strtok over the return value from getenv. strtok modifies the memory it is pointed at, and getenv returns the address in memory of the actual environment. Changing it, changes the environment.