mirror of
https://github.com/samba-team/samba.git
synced 2025-09-17 05:44:20 +03:00
r25744: add NDR_ERR_INVALID_POINTER
metze
This commit is contained in:
@@ -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 {
|
||||
|
@@ -365,6 +365,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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user