Paul Gofman pgofman@codeweavers.com writes:
@@ -205,7 +206,13 @@ const struct object_attributes *get_req_object_attributes( const struct security } if (root && attr->rootdir && attr->name_len) {
if (!(*root = get_directory_obj( current->process, attr->rootdir ))) return NULL;
if (!(*root = get_handle_obj( current->process, attr->rootdir, 0, NULL ))) return NULL;if (is_symlink_obj( *root )){release_object( *root );set_error( STATUS_OBJECT_TYPE_MISMATCH );return NULL;}
Why do you need a special case for symlink objects?