1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-09 01:44:21 +03:00

r25744: add NDR_ERR_INVALID_POINTER

metze
This commit is contained in:
Stefan Metzmacher
2007-10-27 08:10:14 +02:00
parent 22cb93e5c0
commit a75a593708
2 changed files with 4 additions and 1 deletions

View File

@@ -174,7 +174,8 @@ enum ndr_err_code {
NDR_ERR_ALLOC, NDR_ERR_ALLOC,
NDR_ERR_RANGE, NDR_ERR_RANGE,
NDR_ERR_TOKEN, NDR_ERR_TOKEN,
NDR_ERR_IPV4ADDRESS NDR_ERR_IPV4ADDRESS,
NDR_ERR_INVALID_POINTER
}; };
enum ndr_compression_alg { enum ndr_compression_alg {

View File

@@ -365,6 +365,8 @@ static NTSTATUS ndr_map_error(enum ndr_err_code ndr_err)
return NT_STATUS_NO_MEMORY; return NT_STATUS_NO_MEMORY;
case NDR_ERR_ARRAY_SIZE: case NDR_ERR_ARRAY_SIZE:
return NT_STATUS_ARRAY_BOUNDS_EXCEEDED; return NT_STATUS_ARRAY_BOUNDS_EXCEEDED;
case NDR_ERR_INVALID_POINTER:
return NT_STATUS_INVALID_PARAMETER_MIX;
default: default:
break; break;
} }