summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-09-20 00:18:43 +0200
committerJeremy Allison <jra@samba.org>2017-07-19 21:22:13 +0200
commita44bce6dfab59a6440ccc30ef0968d59b9f43fd3 (patch)
treea2b45632ea8f824d3a6c9e3c7632234765a90bcd /pidl
parent3b5442e77bc80f81a4c5ddd69d1544c25e125f4e (diff)
downloadsamba-a44bce6dfab59a6440ccc30ef0968d59b9f43fd3.tar.gz
libndr/compression: pass down compressed length in ndr_pull_compression_start
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 6739b5f4391..cfcd29e25a7 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -525,11 +525,12 @@ sub ParseCompressionPullStart($$$$$)
my $comndr = "$ndr\_compressed";
my $alg = compression_alg($e, $l);
my $dlen = compression_dlen($e, $l, $env);
+ my $clen = compression_clen($e, $l, $env);
$self->pidl("{");
$self->indent;
$self->pidl("struct ndr_pull *$comndr;");
- $self->pidl("NDR_CHECK(ndr_pull_compression_start($ndr, &$comndr, $alg, $dlen));");
+ $self->pidl("NDR_CHECK(ndr_pull_compression_start($ndr, &$comndr, $alg, $dlen, $clen));");
return $comndr;
}