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
4ec9e110
Commit
4ec9e110
authored
May 28, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Return an error for invalid requests instead of killing the client process.
parent
ee48e1e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
request.c
server/request.c
+6
-4
No files found.
server/request.c
View file @
4ec9e110
...
...
@@ -52,9 +52,12 @@
#include <poll.h>
#endif
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "wincon.h"
#include "winternl.h"
#include "wine/library.h"
#include "file.h"
...
...
@@ -277,8 +280,10 @@ static void call_req_handler( struct thread *thread )
if
(
debug_level
)
trace_request
();
if
(
req
<
REQ_NB_REQUESTS
)
{
req_handlers
[
req
](
&
current
->
req
,
&
reply
);
else
set_error
(
STATUS_NOT_IMPLEMENTED
);
if
(
current
)
{
if
(
current
->
reply_fd
)
...
...
@@ -291,9 +296,6 @@ static void call_req_handler( struct thread *thread )
else
fatal_protocol_error
(
current
,
"no reply fd for request %d
\n
"
,
req
);
}
current
=
NULL
;
return
;
}
fatal_protocol_error
(
current
,
"bad request %d
\n
"
,
req
);
}
/* read a request from a thread */
...
...
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