From 3490e65af5b6990d5b36be4a178fe86f6bfcb2a1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 16 Jun 2004 01:34:19 +0000 Subject: r1158: Fix bug in dissection of array count. Arrays mostly work now with the exception of a union related bug. (This used to be commit 80f1445507165a4b6805cd346b83fe57e576c71d) --- source4/build/pidl/eparser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm index 05ab9a270e..ff325c64f9 100644 --- a/source4/build/pidl/eparser.pm +++ b/source4/build/pidl/eparser.pm @@ -249,7 +249,7 @@ sub ParseArrayPull($$$) # non fixed arrays encode the size just before the array pidl "\t{\n"; pidl "\t\tguint32 _array_size;\n\n"; - pidl "\t\tdissect_ndr_uint32(ndr->tvb, ndr->offset, ndr->pinfo, ndr->tree, ndr->drep, hf_array_size, &_array_size);\n"; + pidl "\t\tndr_pull_uint32(ndr, hf_array_size, &_array_size);\n"; if ($size =~ /r->in/) { pidl "\t\t// if (!(ndr->flags & LIBNDR_FLAG_REF_ALLOC) && _array_size != $size) {\n"; } else { -- cgit