CVE-2020-10730: vlv: Do not re-ASQ search the results of an ASQ search with VLV
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 May 2020 00:55:57 +0000 (12:55 +1200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 2 Jul 2020 09:01:40 +0000 (09:01 +0000)
commit914e0cfa0857378cbe21fc5752302ae572e8162e
tree74ecae39ecfb994e31f0f41f41a09928f483385d
parentb2f27a47b33e06fbcf8470b53f598bd610e35296
CVE-2020-10730: vlv: Do not re-ASQ search the results of an ASQ search with VLV

This is a silly combination, but at least try and keep the results sensible
and avoid a double-dereference.

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