The branch, master has been updated via 5c73ecd... s4:echo RPC - make this one "signed-safe" from 8919a58... testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 5c73ecd2b3b178dd57d7251342e966ea4f8044e0 Author: Matthias Dieter Wallnöfer <mwallnoe...@yahoo.de> Date: Sat Nov 21 18:58:26 2009 +0100 s4:echo RPC - make this one "signed-safe" "i" needs to be unsigned here since it counts until "r->in.len" which itself is unsigned and not signed. ----------------------------------------------------------------------- Summary of changes: source4/rpc_server/echo/rpc_echo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/rpc_server/echo/rpc_echo.c b/source4/rpc_server/echo/rpc_echo.c index 8bcee7d..ef80b26 100644 --- a/source4/rpc_server/echo/rpc_echo.c +++ b/source4/rpc_server/echo/rpc_echo.c @@ -54,7 +54,7 @@ static NTSTATUS dcesrv_echo_SinkData(struct dcesrv_call_state *dce_call, TALLOC_ static NTSTATUS dcesrv_echo_SourceData(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_SourceData *r) { - int i; + unsigned int i; r->out.data = talloc_array(mem_ctx, uint8_t, r->in.len); if (!r->out.data) { -- Samba Shared Repository