[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-127-g3625ed3

Stefan Metzmacher metze at samba.org
Sat Oct 27 08:28:44 GMT 2007


The branch, v3-2-test has been updated
       via  3625ed395c23101095321de80e89fcbc8c76be4c (commit)
      from  25bbc9a6613bef0f3f73ecf634a38a9d56020f40 (commit)

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


- Log -----------------------------------------------------------------
commit 3625ed395c23101095321de80e89fcbc8c76be4c
Author: metze <metze at 0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Date:   Sat Oct 27 08:10:14 2007 +0000

    add NDR_ERR_INVALID_POINTER
    
    metze
    
    git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744 0c0555d6-39d7-0310-84fc-f1cc0bd64818

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

Summary of changes:
 source/librpc/ndr/libndr.h |    3 ++-
 source/librpc/ndr/ndr.c    |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/librpc/ndr/libndr.h b/source/librpc/ndr/libndr.h
index 4531293..ee27464 100644
--- a/source/librpc/ndr/libndr.h
+++ b/source/librpc/ndr/libndr.h
@@ -174,7 +174,8 @@ enum ndr_err_code {
 	NDR_ERR_ALLOC,
 	NDR_ERR_RANGE,
 	NDR_ERR_TOKEN,
-	NDR_ERR_IPV4ADDRESS
+	NDR_ERR_IPV4ADDRESS,
+	NDR_ERR_INVALID_POINTER
 };
 
 enum ndr_compression_alg {
diff --git a/source/librpc/ndr/ndr.c b/source/librpc/ndr/ndr.c
index 5525459..326ab12 100644
--- a/source/librpc/ndr/ndr.c
+++ b/source/librpc/ndr/ndr.c
@@ -328,6 +328,8 @@ static NTSTATUS ndr_map_error(enum ndr_err_code ndr_err)
 		return NT_STATUS_NO_MEMORY;
 	case NDR_ERR_ARRAY_SIZE:
 		return NT_STATUS_ARRAY_BOUNDS_EXCEEDED;
+	case NDR_ERR_INVALID_POINTER:
+		return NT_STATUS_INVALID_PARAMETER_MIX;
 	default:
 		break;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list