Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5c37788a
Commit
5c37788a
authored
Dec 06, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: The name len in the get_directory_entry request must be a data_size_t.
parent
3343c408
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
server_protocol.h
include/wine/server_protocol.h
+1
-1
protocol.def
server/protocol.def
+1
-1
trace.c
server/trace.c
+1
-1
No files found.
include/wine/server_protocol.h
View file @
5c37788a
...
...
@@ -4009,7 +4009,7 @@ struct get_directory_entry_request
struct
get_directory_entry_reply
{
struct
reply_header
__header
;
size_t
name_len
;
data_size_t
name_len
;
/* VARARG(name,unicode_str,name_len); */
/* VARARG(type,unicode_str); */
};
...
...
server/protocol.def
View file @
5c37788a
...
...
@@ -2890,7 +2890,7 @@ enum message_type
obj_handle_t handle; /* handle to the directory */
unsigned int index; /* entry index */
@REPLY
size_t
name_len; /* length of the entry name in bytes */
data_size_t
name_len; /* length of the entry name in bytes */
VARARG(name,unicode_str,name_len); /* entry name */
VARARG(type,unicode_str); /* entry type */
@END
...
...
server/trace.c
View file @
5c37788a
...
...
@@ -3560,7 +3560,7 @@ static void dump_get_directory_entry_request( const struct get_directory_entry_r
static
void
dump_get_directory_entry_reply
(
const
struct
get_directory_entry_reply
*
req
)
{
fprintf
(
stderr
,
" name_len=%
lu,"
,
(
unsigned
long
)
req
->
name_len
);
fprintf
(
stderr
,
" name_len=%
u,"
,
req
->
name_len
);
fprintf
(
stderr
,
" name="
);
dump_varargs_unicode_str
(
min
(
cur_size
,
req
->
name_len
)
);
fputc
(
','
,
stderr
);
...
...
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