Sweden-Number/dlls/ntdll/unix
Martin Storsjo e8f2c2464a ntdll: Only call putenv() if we are going to call exec().
If we aren't going to exec (if pre_exec() returns zero), we will
continue using the envp pointer we got from the caller. However,
the putenv() call does update the environment, and this can in
some cases overwrite the array that the old (stale, potentially
dangling) envp pointer points to.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-14 22:04:02 +02:00
..
cdrom.c ntdll: Use a pthread mutex for the CD-ROM cache section. 2020-07-13 21:22:13 +02:00
debug.c
env.c ntdll: Move the locale system calls to the Unix library. 2020-07-20 20:14:41 +02:00
file.c ntdll: Store the filesystem redirection flag in the 64-bit TEB. 2020-07-24 18:26:18 +02:00
loader.c ntdll: Only call putenv() if we are going to call exec(). 2020-08-14 22:04:02 +02:00
process.c ntdll: Store the filesystem redirection flag in the 64-bit TEB. 2020-07-24 18:26:18 +02:00
registry.c ntdll: Move the registry system calls to the Unix library. 2020-07-17 23:16:51 +02:00
security.c ntdll: Move the security system calls to the Unix library. 2020-07-20 20:14:18 +02:00
serial.c ntdll: Avoid using RtlQueueWorkItem() in the Unix library. 2020-07-10 13:19:27 +02:00
server.c ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
signal_arm.c ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
signal_arm64.c ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
signal_i386.c ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
signal_x86_64.c ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
sync.c ntdll: Avoid importing RtlEnterCriticalSection/RtlLeaveCriticalSection from the Unix side. 2020-08-05 15:28:31 +02:00
system.c ntdll: Generate "system boot information" SMBIOS table. 2020-08-05 22:52:03 +02:00
tape.c ntdll: Move the device I/O control functions to the Unix library. 2020-06-16 18:36:30 +02:00
thread.c ntdll: Use KiUserApcDispatcher() to call user APCs. 2020-08-06 19:31:24 +02:00
unix_private.h ntdll: Unwind the syscall frame when calling KiRaiseUserExceptionDispatcher(). 2020-08-11 17:56:10 +02:00
virtual.c ntdll: Add check for totalram, mem_unit in struct sysinfo. 2020-08-03 15:52:15 +02:00