[Bug 37635] Explicit environment variables passed to spawn/exec are corrupted

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 29 20:17:42 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37635

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de

--- Comment #3 from Sebastian Lackner <sebastian at fds-team.de> ---
You should remove the check of 'env', this makes the patch look more
complicated than it is. Kernel32 already ensures that the environment variable
is never accessed when a NULL pointer is passed.

A simplified version of this patch was added to Wine Staging:
https://github.com/wine-compholio/wine-staging/blob/master/patches/msvcrt-Spawn_Process/0001-msvcrt-Fix-passing-of-explicit-environment-to-spawn-.patch

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list