Gerald Pfeifer : rpcrt4: Avoid potential overflow in rpcrt4_protseq_ncacn_np_open_endpoint.
Alexandre Julliard
julliard at winehq.org
Wed Jan 25 13:18:51 CST 2017
Module: wine
Branch: master
Commit: 042b41dd5705d6412236ed81d4a03aff7831c631
URL: http://source.winehq.org/git/wine.git/?a=commit;h=042b41dd5705d6412236ed81d4a03aff7831c631
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Jan 21 16:32:22 2017 +0100
rpcrt4: Avoid potential overflow in rpcrt4_protseq_ncacn_np_open_endpoint.
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rpcrt4/rpc_transport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 2537a3f..fb3edb4 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -346,7 +346,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_np_open_endpoint(RpcServerProtseq *protse
RPC_STATUS r;
LPSTR pname;
RpcConnection *Connection;
- char generated_endpoint[21];
+ char generated_endpoint[26];
if (!endpoint)
{
More information about the wine-cvs
mailing list