ntdll: Fix use-after-free.
Fixes a regression introduced by 76f94957.
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=51702Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Showing
Please
register
or
sign in
to comment