[PATCH] ntdll: Fix use-after-free.

Akihiro Sagawa sagawa.aki at gmail.com
Sun Aug 29 07:35:14 CDT 2021

Fixes a regression introduced by 76f949577aac88bbde4e9e7b904587f5bc8c808d.
nt_name or redir is used in open_unix_file() because attr.ObjectName
points to either of them.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51702
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
 dlls/ntdll/unix/process.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Fix-use-after-free.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210829/d9ec5b95/attachment-0001.bin>

More information about the wine-devel mailing list