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
51dbc8d0
Commit
51dbc8d0
authored
Nov 18, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix the return value of NdrFullPointerQueryRefId for a pointer ID of 0.
parent
d6f293f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ndr_fullpointer.c
dlls/rpcrt4/ndr_fullpointer.c
+3
-0
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+0
-1
No files found.
dlls/rpcrt4/ndr_fullpointer.c
View file @
51dbc8d0
...
...
@@ -161,6 +161,9 @@ int WINAPI NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES pXlatTables,
{
TRACE
(
"(%p, 0x%x, %d, %p)
\n
"
,
pXlatTables
,
RefId
,
QueryType
,
ppPointer
);
if
(
!
RefId
)
return
1
;
expand_pointer_table_if_necessary
(
pXlatTables
,
RefId
);
pXlatTables
->
NextRefId
=
max
(
RefId
+
1
,
pXlatTables
->
NextRefId
);
...
...
dlls/rpcrt4/tests/ndr_marshall.c
View file @
51dbc8d0
...
...
@@ -1047,7 +1047,6 @@ static void test_fullpointer_xlat(void)
/* "unmarshaling" phase */
ret
=
NdrFullPointerQueryRefId
(
pXlatTables
,
0x0
,
0
,
&
Pointer
);
todo_wine
ok
(
ret
==
1
,
"ret should be 1 instead of 0x%x
\n
"
,
ret
);
ret
=
NdrFullPointerQueryRefId
(
pXlatTables
,
0x2
,
0
,
&
Pointer
);
...
...
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