git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280f21a
)
librpc: return a ndr_pull_error instead of just NDR_ERR_NDR64 when upper bits of...
author
Matthieu Patou
<mat@matws.net>
Mon, 23 Sep 2013 00:17:16 +0000
(17:17 -0700)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 2 Oct 2013 11:07:33 +0000
(13:07 +0200)
Signed-off-by: Matthieu Patou <mat@matws.net>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
librpc/ndr/ndr_basic.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_basic.c
b/librpc/ndr/ndr_basic.c
index 5c653c8e3be8dd0acfc94c90d764b90a6ad73079..35b223da7aff06c855c59b1292a7a0bb57fc41ac 100644
(file)
--- a/
librpc/ndr/ndr_basic.c
+++ b/
librpc/ndr/ndr_basic.c
@@
-169,7
+169,8
@@
_PUBLIC_ enum ndr_err_code ndr_pull_uint3264(struct ndr_pull *ndr, int ndr_flags
if (unlikely(v64 != *v)) {
DEBUG(0,(__location__ ": non-zero upper 32 bits 0x%016llx\n",
(unsigned long long)v64));
- return NDR_ERR_NDR64;
+ return ndr_pull_error(ndr, NDR_ERR_NDR64, __location__ ": non-zero upper 32 bits 0x%016llx\n",
+ (unsigned long long)v64);
}
return err;
}