diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-02 10:45:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:29 -0500 |
commit | 4d390df586ff1b4ba4b5bbfbde3c6393c6f5c829 (patch) | |
tree | 4f298868ff860da16f31069e8282fced7eb9f80a /source4/librpc/rpc/dcerpc_util.c | |
parent | 01f704e5ecbf371e60640c45c7e9d3f66a5a9fe0 (diff) | |
download | samba-4d390df586ff1b4ba4b5bbfbde3c6393c6f5c829.tar.gz samba-4d390df586ff1b4ba4b5bbfbde3c6393c6f5c829.tar.bz2 samba-4d390df586ff1b4ba4b5bbfbde3c6393c6f5c829.zip |
r2180: added RPC flags "padcheck" which enables checking of all received pad
bytes to make sure they are zero. Non-zero values usually indicate one
of two things:
- the server is leaking data through sending uninitialised memory
- we have mistaken a real field in the IDL for padding
to differentiate between the two you really need to run with
"print,padcheck" and look carefully at whether the non-zero pad bytes
are random or appear to be deliberate.
(This used to be commit 7fdb778f81f14aaab75ab204431e4342a462957a)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 5a3b875c01..c04937353c 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -277,6 +277,7 @@ static const struct { {"seal", DCERPC_SEAL}, {"validate", DCERPC_DEBUG_VALIDATE_BOTH}, {"print", DCERPC_DEBUG_PRINT_BOTH}, + {"padcheck", DCERPC_DEBUG_PAD_CHECK}, {"bigendian", DCERPC_PUSH_BIGENDIAN} }; |