mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[RPCRT4] RpcStringBindingParseA/W must fail, if a colon is missing in the string binding
This fixes a bug in the rpc winetest. This patch will be sent upstream.
This commit is contained in:
parent
d01de6dc8b
commit
00ccbd2f39
1 changed files with 4 additions and 0 deletions
|
@ -601,6 +601,8 @@ RPC_STATUS WINAPI RpcStringBindingParseA( RPC_CSTR StringBinding, RPC_CSTR *ObjU
|
|||
if (next) {
|
||||
if (Protseq) *Protseq = unescape_string_binding_component(data, next - data);
|
||||
data = next+1;
|
||||
} else {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
next = string_binding_find_delimiter(data, '[');
|
||||
|
@ -711,6 +713,8 @@ RPC_STATUS WINAPI RpcStringBindingParseW( RPC_WSTR StringBinding, RPC_WSTR *ObjU
|
|||
if (next) {
|
||||
if (Protseq) *Protseq = unescape_string_binding_componentW(data, next - data);
|
||||
data = next+1;
|
||||
} else {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
next = string_binding_find_delimiterW(data, '[');
|
||||
|
|
Loading…
Reference in a new issue