[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-29-74-ga159dc8

Jeremy Allison jra at samba.org
Fri Jun 27 04:17:49 GMT 2008


The branch, v3-0-test has been updated
       via  a159dc8ded51335b570886bd9dfedfd256a6baff (commit)
      from  4d18a8d6b0fd3bbb395fc01e281af14ea595fc4e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit a159dc8ded51335b570886bd9dfedfd256a6baff
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jun 26 21:16:43 2008 -0700

    Fix gcc -O3 warnings.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/rpc_client/cli_pipe.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 47fcbfe..3b41e74 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -446,8 +446,8 @@ static NTSTATUS cli_pipe_validate_rpc_response(struct rpc_pipe_client *cli, RPC_
 			return NT_STATUS_INVALID_PARAMETER;
 		}
 
-		if (prhdr->auth_len + RPC_HDR_AUTH_LEN < prhdr->auth_len ||
-				prhdr->auth_len + RPC_HDR_AUTH_LEN < RPC_HDR_AUTH_LEN) {
+		if (prhdr->auth_len + (unsigned int)RPC_HDR_AUTH_LEN < prhdr->auth_len ||
+				prhdr->auth_len + (unsigned int)RPC_HDR_AUTH_LEN < (unsigned int)RPC_HDR_AUTH_LEN) {
 			/* Integer wrap attempt. */
 			return NT_STATUS_INVALID_PARAMETER;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list