]> git.ipfire.org Git - thirdparty/samba.git/commit
ldb:sort: check that elements have values
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 7 Apr 2024 02:55:27 +0000 (14:55 +1200)
committerJule Anger <janger@samba.org>
Mon, 10 Jun 2024 13:25:17 +0000 (13:25 +0000)
commit87a6fe0058af72f4b5f4f6e9d907059666fe9b08
tree02c141c41b48c24d52fb1e16c8a0584afddefbb9
parent71d2c9093cf1fe60c8571a235b025f90919287dc
ldb:sort: check that elements have values

We assume no values is unlikely, since we have been dereferencing
->values[0] forever, with no known reports of trouble.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit d4e69734c65ade0bbb398447012513a7f27e98bd)
lib/ldb/modules/sort.c