diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-08-08 10:32:21 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-08-08 10:32:21 +1000 |
commit | c1efe587cfb9e4a49d2d88e92a5b0de93c89f558 (patch) | |
tree | 67fcea22bda0cf16f723cfb28a6d295d68f1cbb6 | |
parent | 8930a2159d6ec4dd9614b3bf21c03740d9aa8631 (diff) | |
download | samba-c1efe587cfb9e4a49d2d88e92a5b0de93c89f558.tar.gz samba-c1efe587cfb9e4a49d2d88e92a5b0de93c89f558.tar.bz2 samba-c1efe587cfb9e4a49d2d88e92a5b0de93c89f558.zip |
We can't use ndr_pull_struct_blob_all in combinatin with relative pointers
(This used to be commit 931890e028da8da756b7c7c62e2552a9fc04f7bc)
-rw-r--r-- | source4/torture/rpc/dssync.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index d340543f0a..0f2be55c38 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -566,9 +566,10 @@ static void test_analyse_objects(struct torture_context *tctx, } if (pull_fn) { - ndr_err = ndr_pull_struct_blob_all(&plain_data, ptr, - lp_iconv_convenience(tctx->lp_ctx), ptr, - pull_fn); + /* Can't use '_all' because of PIDL bugs with relative pointers */ + ndr_err = ndr_pull_struct_blob(&plain_data, ptr, + lp_iconv_convenience(tctx->lp_ctx), ptr, + pull_fn); if (NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { ndr_print_debug(print_fn, name, ptr); } else { |