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:41:48 +1000 |
commit | a0b5ec7797aa213da4fc62c40f5a94b88f153967 (patch) | |
tree | 87575a63035192de908d2022fcceb195c107b14d /source4/torture | |
parent | 9bf122145f92d27f522308943a6cde05d25e5e55 (diff) | |
download | samba-a0b5ec7797aa213da4fc62c40f5a94b88f153967.tar.gz samba-a0b5ec7797aa213da4fc62c40f5a94b88f153967.tar.bz2 samba-a0b5ec7797aa213da4fc62c40f5a94b88f153967.zip |
We can't use ndr_pull_struct_blob_all in combinatin with relative pointers
(This used to be commit d0a128f35b259d4891edc68fc24aa04a6da7aab7)
Diffstat (limited to 'source4/torture')
-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 97c3b3f3c3..2739081246 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 { |