mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
ndr_compression: use MAX_WBITS constant
Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0181fcc4aa
commit
e54adf516e
@ -97,7 +97,7 @@ static enum ndr_err_code ndr_pull_compression_mszip_chunk(struct ndr_pull *ndrpu
|
||||
z->zfree = ndr_zlib_free;
|
||||
z->opaque = ndrpull;
|
||||
|
||||
z_ret = inflateInit2(z, -15);
|
||||
z_ret = inflateInit2(z, -MAX_WBITS);
|
||||
if (z_ret != Z_OK) {
|
||||
return ndr_pull_error(ndrpull, NDR_ERR_COMPRESSION,
|
||||
"Bad inflateInit2 error %s(%d) (PULL)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user