Commit d771f4d1 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Return an error in get_handle_unix_name for objects that don't have a file name.

This way we fall back to retrieving the Win32 name.
parent e7c67c0c
......@@ -2254,6 +2254,7 @@ DECL_HANDLER(get_handle_unix_name)
if (name_len <= get_reply_max_size()) set_reply_data( fd->unix_name, name_len );
else set_error( STATUS_BUFFER_OVERFLOW );
}
else set_error( STATUS_OBJECT_TYPE_MISMATCH );
release_object( fd );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment