Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
49b834bb
Commit
49b834bb
authored
May 30, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
May 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use current thread for IRP calls without associated thread.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
51a73216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
device.c
server/device.c
+7
-5
No files found.
server/device.c
View file @
49b834bb
...
...
@@ -951,12 +951,14 @@ DECL_HANDLER(get_next_device_request)
if
((
ptr
=
list_head
(
&
manager
->
requests
)))
{
struct
thread
*
thread
;
irp
=
LIST_ENTRY
(
ptr
,
struct
irp_call
,
mgr_entry
);
if
(
irp
->
thread
)
{
reply
->
client_thread
=
get_kernel_object_ptr
(
manager
,
&
irp
->
thread
->
obj
);
reply
->
client_tid
=
get_thread_id
(
irp
->
thread
);
}
thread
=
irp
->
thread
?
irp
->
thread
:
current
;
reply
->
client_thread
=
get_kernel_object_ptr
(
manager
,
&
thread
->
obj
);
reply
->
client_tid
=
get_thread_id
(
thread
);
iosb
=
irp
->
iosb
;
reply
->
in_size
=
iosb
->
in_size
;
if
(
iosb
->
in_size
>
get_reply_max_size
())
set_error
(
STATUS_BUFFER_OVERFLOW
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment