CVE-2020-10730: vlv: Another workaround for mixing ASQ and VLV
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 May 2020 04:34:11 +0000 (16:34 +1200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 25 Jun 2020 08:43:52 +0000 (10:43 +0200)
commit337f3e42841fb5c592b93285d37fb9ea238ee3ec
tree56db91bea71b65f7b84b55fbfe6e6de862690e2a
parent98a67d491375b9ccbf55e4cedd517a1678010a91
CVE-2020-10730: vlv: Another workaround for mixing ASQ and VLV

This is essentially an alternative patch, but without the correct
behaviour.  Instead this just avoids a segfault.

Included in case we have something simialr again in
another module.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14364

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/vlv_pagination.c