projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Sync to trunk HEAD (r53473).
[reactos.git]
/
dll
/
win32
/
rpcrt4
/
ndr_fullpointer.c
diff --git
a/dll/win32/rpcrt4/ndr_fullpointer.c
b/dll/win32/rpcrt4/ndr_fullpointer.c
index
b686683
..
2bbd2b2
100644
(file)
--- a/
dll/win32/rpcrt4/ndr_fullpointer.c
+++ b/
dll/win32/rpcrt4/ndr_fullpointer.c
@@
-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);