Commit 042b41dd authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

rpcrt4: Avoid potential overflow in rpcrt4_protseq_ncacn_np_open_endpoint.

parent 3312b4b5
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment